Apache 4.0.40 VirtualHosts are working every way but RIGHT!
I am having a very strange issue at hand. I have a new webserver with Apache 2.0.40, RedHat 9 installed and am getting things setup for 2 virtualdomain hosts I'm setting up. I have entered the /etc/httpd/conf/httpd.conf file to edit to make Apache work. I have edited the following options with the following values:
Here is were the strange things come into play. If I goto www.modemnet.biz that actually works and it takes me to the html file located in mdoemnet.biz's home account. BUT if I try to goto www.miawmainecoons.com it takes me to the modemnet.biz html file! I've tried for hours and hours but I seemingly can't get various domains to point to the appropriate virtualserver. I know I haven't setup something properly so any advice is appreciated.
Btw yes I have setup DNS properly so everything is working there.
Thanks for the help, but I ended up finding out the reason as to why it wasn't working. Actually I found the error shortly after posting. We use a specialized NAT setup in the data center so all internal machines have a 192.168.x.x and a routable 192.216.x.x IP. I found out I have to make the correction to the httpd.conf to show the following for BOTH ip addresses. It worked immediately.