splitbrain / docker-phpfarm

A Dockerfile to build an image running multiple PHP versions on Apache

Home Page:http://www.splitbrain.org/blog/2014-02/02-docker_phpfarm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

virtual hosts

gponty opened this issue · comments

Hi and thank you for your job !

How i can have multiple vhosts, like :
xxx.localhost:8073
xxx.localhost:8072
yyy.localhost:8073
yyy.localhost:8072
etc...
For each website (xxx.localhost) documentRoot can change (like /var/www/xxx/public)

Thank you !

This is nothing you can do with docker alone. Vhosts require appropriate DNS on the client side.

I wonder what you're trying to achieve but you're probably not using this docker image for what it was intended for.