Forum Moderators: phranque

Message Too Old, No Replies

Windows XP IP Based VirtualHost

Want to add IP's to Host

         

Stuperfied

12:11 am on Jan 19, 2006 (gmt 0)

10+ Year Member



I just spent the last 2 days trying to figure this one out, so I came in here to see if anyone else can.

I have WinXP Apache, MySQL, PHP etc and I only have one IP assigned me by my ISP. I do not have a DNS Server because I have not been able to find out any information about how to set one up for Win boxes.

I have multiple domain names (A Host) redirected to my IP (Not URL redirect) and although they work under Name Based VirtualHosts, I wish to use IP based VirtualHosts for them. The problem is that I only have one IP allocated to this the server which is 192.168.0.* (obviously). This IP works fine in the Hosts file for all sites but as soon as I try to use eg: 192.168.0.8 for example.com my site fails. How can I give each Host its own IP?