Forum Moderators: phranque

Message Too Old, No Replies

Can't get Virutal Host to work

         

dgparent

11:57 am on Oct 6, 2005 (gmt 0)



Here is my setup, Win2K server, Apache 2, 1 Dyanmic IP address, 2 domains both being redirected at no-ip info. I want both www addresses to go to my server but obviously to different folders. I have tried the virtual host, the only way I can get it to work is to use port redirection, have the 2nd www on a different port 8080 or whatever. But then when you go to the site the address bar shows [ip_address:8080...]

So I don't want that, when I use pure virtual host(no port redirection) both pages end up at the same place, the 1st www address. Any idea's? If I can get port re-direction to work without the ip and port showing in the address bar that is fine. Thanks

coopster

1:05 pm on Oct 6, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, dgparent.

The Apache Virtual Hosts [httpd.apache.org] is a great start and that particular documentation gives examples of exactly what you are trying to accomplish.