View Full Version : Apache Configuration for Multiple Hosts

12-12-2010, 08:20 AM

Recently I installed XAMPP onto a clean XP machine. I have started to use it to host my website though I want to host other websites now from it. I have done alot of searching on Google and I have read many articles based on the topic though I am still having trouble putting it into practice.

I have edited the HTTP-HOSTS file and also the Windows HOSTS file so I know how to do all that. I have followed several tutorials on doing this; this (http://www.geeksengine.com/article/apache-multiple-local-websites.html) one mainly outlines what I have done.

Though I can't see how you can access the virtual hosts outside of the computer they are on. For example; if I was to visit http://mylocalwebsite from the computer it was beinga hosted on, it would work but how could I access it from outside that computer (away from its localhost - either within the local network [on an IP preferably] or on the internet [through a domain - I have purchased domains before])?
I'm guessing I should use a locally hosted DNS for this so that the computer knows what website to point a domain towards when accessed outside of the localhost? Something like BIND (http://alex.charrett.com/bind-on-windows-mainmenu-3)? Anybody have experience in BIND?

Thanks very much =)

12-14-2010, 05:32 AM
no help? =(