roberttran
[H]ard|Gawd
- Joined
- Aug 15, 2002
- Messages
- 1,471
Hey,
I am trying to get apache working but I am having alot of trouble. If I had no virtual servers and only the default server, it works fine. It response to all the domainnames that refers to it. Problems start when I need to get virtual servers working. When I add the first virtual server, it completely takes over. I set the virtual server to www.domain.com and domain.com but it also takes over other hostnames on the machine such as server.domain.com. When I set the servername in the default server to server.domain.com, the virtual server for www.domain.com and domain.com is there. When I create a second virtual server to handle server.domain.com, it is completely ignored and goes to the first virtual server. When I swap the two virtual servers in the config file, which ever one is first in the file is the one that responses.
Any ideas what is causing this?
Thanks,
Robert
I am trying to get apache working but I am having alot of trouble. If I had no virtual servers and only the default server, it works fine. It response to all the domainnames that refers to it. Problems start when I need to get virtual servers working. When I add the first virtual server, it completely takes over. I set the virtual server to www.domain.com and domain.com but it also takes over other hostnames on the machine such as server.domain.com. When I set the servername in the default server to server.domain.com, the virtual server for www.domain.com and domain.com is there. When I create a second virtual server to handle server.domain.com, it is completely ignored and goes to the first virtual server. When I swap the two virtual servers in the config file, which ever one is first in the file is the one that responses.
Any ideas what is causing this?
Thanks,
Robert