Thread: Virtual hosts
View Single Post
Old 8th December 2009, 21:27
Toucan Toucan is offline
Senior Member
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 41 Times in 34 Posts
Default Virtual hosts

I've been having a little trouble setting up virtual hosts in apache2. The server works and is visible from the world Through the router using port forwarding.

I attempted to use webmin to set up two virtual hosts in addition to the default host. I've used to spare domain names I have registered and used web forwarding to point them to the static ip address of the router. This works but both show the default doc root page not their own supposed doc root pages.

I presemed they would use their client side headers to be recognised by apache and get to the right virtual host.

Is this likely to be a problem with just using web forwarding or is the virtual host not setup properly?

Reply With Quote
Sponsored Links