[users@httpd] Having problems with apache virtual servers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an apache setup that seemed to be fine but when I put in a virtual host, now I can only get to the virtual host. I can't get to the main one. This is how my setup looks.

ip address
10.0.0.120
The host file on the server reads
10.0.0.120   mainserver
10.0.0.120   virtualhost

httpd.conf has the following settings

servername is mainserver
documentroot   /www/main/htdocs

namedvirtualhost 10.0.0.120:80

<Virtualhost 10.0.0.120>
servername virtualhost
documentroot /www/virtual/htdocs
other directives
</virtualhost>

In the host file of the test windows client I have
10.0.0.120   mainserver
10.0.0.120   virtualhost

Before I put in the virtual host it went to mainserver fine. Now that I added the virtual host, I can't get to the mainserver anymore. Can someone shed some light on this?




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux