Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Referencing Web Site

Status
Not open for further replies.

SpiderBear6

Programmer
Sep 17, 2003
422
AU
How do I reference a web server based on it's ip address? I have set up various web sites on the web server and given each one a different host header value.

I tried but that doesn't seem to work.

Thanks heaps :)
 
Hi mate,

You can't do it.

If you are using name based virtualhosts then you need domain names for each one of the sites.

Otherwise, you need to use IP based virtualhosts, but that requires a different IP for every site.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Oh... well that explains why it didn't work.

Thanks Wullie. :)
 
you can always edit your hosts file to allow YOU to access them.. but you'll beed the domain names set up for the public.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top