I have read a lot of articles and questions about deploying of Symfony 2 project on a production server, but still, this is not clear. Deploy of Symfony project looks like a hell - nobody knows how to do this correctly. I suppose the best topic I see was Deploying a Symfony2 project, but still, a lot isn`t clear. I read it, and find out that in that question person added his own IP to a list of allowed IP, but this means that only this IP can access this site, but I need to allow everybody use it.
And how can I make site working with path www.mydomen.com
, instead of www.mydomen.com/web/app_dev.php/index
(I can correct path via Symfony, but it works after app_dev.php
and via hosting, but how can it work before /app_dev.php
? It seems like app-dev.php should always be in my path).
So how should I correctly transfer developed project from local server to production server step by step, please?