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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VirtualHosts and IP address

Status
Not open for further replies.

ManagerJay

IS-IT--Management
Jul 24, 2000
302
US
I am currently running VirtualHosts on my Apache server without any problems.

Is it possible to access one of the sites, other than the first site listed in httpd.conf, via the IP address?

For example if I type I am given the default site (Site1). Is is possible to access site 2 using the IP address (ie.
Thanks in advance for your assistance.

Jay
 
Brain fart on my part. Once I thought more about this, and had some sleep and caffeine, it is easy.


Provided username's home directory is the directory where that website is located.

Hopefully someone will find this useful.


Jay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top