Dedicated server :
If you are on a dedicated debian server (with apache), you probably know what is a vhost.
You need to create a Vhost and point the domain to the web folder of the Symfony project to encapsulate users :
nano /etc/apache2/sites-enabled/host.tld :
<VirtualHost *:80>
ServerName host.tld
DocumentRoot /home/sybio/www/mywebsite/Symfony/web
<Directory "/home/sybio/www/mywebsite/Symfony/web">
DirectoryIndex app.php
Options -Indexes FollowSymLinks SymLinksifOwnerMatch
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
Then test apache configuration :
apache2ctl configtest
If no error restart :
apache2ctl restart
That's it !
Shared hosting :
In many hosters, like OVH, you can configurate the destination folder (web dir) thanks to admin panel ! If you can't, this is easy :
1) add Symfony structure at the root dir of your shared hosting
2) Rename the web/ dir by the one used by your hoster (oftently "www" or "public")
3) Override Sf configuration to say "web" dir is now named "www" : http://symfony.com/doc/current/cookbook/configuration/override_dir_structure.html#override-the-web-directory