In my previous question, DNS simulation for testing purposes?, I'd asked about simulating DNS.
Is there a way to simulate an IP address within Windows for the virtual hosts in my previous question?
The host in question is:
<VirtualHost 12.345.678>
NameVirtualHost mywebsitedomain1.co.uk
ServerName mywebsitedomain1.co.uk
ServerAlias www.mywebsitedomain1.co.uk
DocumentRoot /www/vhosts/mywebsitedomain1.co.uk
ErrorLog /www/Apache22/logs/error.log
<Directory "/www/vhosts/mywebsitedomain1.co.uk">
Options All
AllowOverride All
order allow,deny
allow from all
</Directory>
I added the IP address of a website that I don't use frequently, in this case, here is how the virtual host should look:
<VirtualHost 208.88.246.99>
NameVirtualHost mywebsitedomain1.co.uk
ServerName mywebsitedomain1.co.uk
ServerAlias www.mywebsitedomain1.co.uk
DocumentRoot /www/vhosts/mywebsitedomain1.co.uk
ErrorLog /www/Apache22/logs/error.log
<Directory "/www/vhosts/mywebsitedomain1.co.uk">
Options All
AllowOverride All
order allow,deny
allow from all
</Directory>
and in HOSTS file (where my other virtual hosts named are listed), it shows as:
208.88.246.99 mywebsitedomain1.co.uk
127.0.0.1 mywebsitedomain1.co.uk
The first IP is that of a real website (an online radio station - not visiting it much so I don't mind using the IP for this test).
How can I simulate the IP and DNS for testing purposes?
By the way, I'm on Windows Vista, Home Edition, for the record.