First off I’m on a private server with no dns and no plans to setup dns for my machine any time soon.
I only need to access my servers through internal ip and their directory. So I softlinked the site public_html folders in the Main DocRoot:
http://192.168.xxx.xxx/sitefoo
http://192.168.xxx.xxx/sitebar
etc
This makes them easily accessible, however I cannot get php working on any of the domains not even in the Main DocumentRoot.
When I go to Server Configurations > PHP Versions, it throws:
“Website options cannot be edited, as no Apache virtual host for sitefoo.com port 80 was found!”
How do I correctly make them accessible from internal ip and get php working?
Ubuntu 14.04/Virtualmin 4.10