I have been searching the internet for an hour now, and I was hoping for a quick hint here so that I could solve my problem a wee bit faster.
My virtual server is so far only accessible through an IP address, no DNS entry yet, and so far none needed either.
The problem I have is with Apache2, the virtual hosts are puzzling me.
What I need is:
Access to my project (based on Symfony2) from the outside with the IP address
Access to my project from localhost
What I have got:
Access from the outside results in rendering the websites in /var/www/vhosts/htdocs/default, while from the inside results in rendering the websites in /var/www. Why the difference?
What is a recommended configuration for my use case?