Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


DNS manager domain.com and www.domain.com

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux Networking
Author Message
jcr



Joined: 14 May 2007
Posts: 39

Posted: Fri Jun 22, 2007 1:37 pm    Post subject: DNS manager domain.com and www.domain.com  

Hello,
With Firefox, both www.domain.com and domain.com work but from IE only www.domain.com is fine.
I am using Centos5 with apache 2.2 and my httpd.conf file contains:

<VirtualHost *:80>
ServerName domain.com
Redirect permanent / http://www.domain.com/
</VirtualHost>

<VirtualHost *:80>
DocumentRoot /websites/domain
ServerName www.domain.com
</VirtualHost>

In the Linode's DNS manager, under the domain zone domain.com, I have two A records, one with hostname www.domain.com and the other with domain.com. Once submitted, the first one appears as www and the other is blank. In both cases, the IP is the same.
I last made changes to the DNS manager more than one hour ago.
Any idea where I am making a mistake? Thanks for your help
Back to top  
jcr



Joined: 14 May 2007
Posts: 39

Posted: Fri Jun 22, 2007 2:39 pm    Post subject:  

Hello,

Sorry for the noise but it actually works fine. That's good!

Regards
Back to top  
 
       Linode.com Forum Forum Index -> Linux Networking
Page 1 of 1