Ok so I just installed apache 2.2 on windows server 2008. I would like to set it up so if I go to 99.144.79.25(Server IP) I get index1.html. If I go to example.com which points to 99.144.79.25 I get index2.html. If I go to example3.com which points to 99.144.79.25 I get index3.html. So kind of like, if the domain folder is not found on my server, give the page index1.html. Is this possible? If so how do I do it? In the long run I want to run a bunch of sites with different domains, testing right now though.
Yeah, VirtualHosts sound like what you need. Not hard to set up with apache, and there are many tutorials around the web. Here is one that looks promising http://www.thegeekstuff.com/2011/07/apache-virtual-host/ Code (markup): And one with some examples http://httpd.apache.org/docs/current/vhosts/examples.html Code (markup): Have fun