Forum Moderators: phranque
right now what you get when you go to localhost and my mydomain.com (which i have set up on dns to go to my ip on port 80) is exactly the same.
BUT.......
when i go to site1.localhost (a site that contains the content that i want) it is NOT the same as site1.mydomain.com(which my browser says dosen't exist.)
ALSO......
i would like to know how i can setup a domain to make site1.localhost the same as mydomain2.com
any ideas?
The Apache Virtual Hosts [httpd.apache.org] documentation explains how to set up multiple sites on a single server. Basically you Listen on a port (80) for incoming connections and your server locates the correct <VirtualHost> container for the incoming request.