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

Apache Configs and DNS problems

Status
Not open for further replies.

SkyyJunkie

Technical User
Joined
Nov 29, 2004
Messages
1
Location
US
My company is hosting a number of sites, but every time we try to add another, something goes wrong. 4 of the 5 websites work perfectly. Our latest is not. It can be accessed by serv5.com in any browser, but gives a page cannot be displayed.

Here's what I have for the VHosts.conf:

NameVirtualHost 192.168.0.102
NameVirtualHost 192.168.0.1
NameVirtualHost 10.10.10.50
NameVirtualHost 127.0.0.1

<VirtualHost 192.168.0.102:80>
DocumentRoot "/var/ServerName ServerAlias serv1.com *.serv1.com serv1
</VirtualHost>

<VirtualHost 192.168.0.102:80>
DocumentRoot "/var/ServerName ServerAlias serv2.com *.serv2.com serv2
</VirtualHost>

<VirtualHost 192.168.0.102:80>
DocumentRoot "/var/ServerName ServerAlias serv3.com *.serv3.com serv3
</VirtualHost>

<VirtualHost 192.168.0.102:80>
DocumentRoot "/var/ServerName ServerAlias serv4.com *.serv4.com serv4
</VirtualHost>

<VirtualHost 192.168.0.102:80>
DocumentRoot "/var/ServerName ServerAlias serv5.com *.serv5.com serv5
</VirtualHost>

Any ideas on what could be the problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top