1829748 Members
4015 Online
109992 Solutions
New Discussion

WWW and DNS

 
Vernon Brown_2
Frequent Advisor

WWW and DNS

I opened accounts with ns1.granitecanyon.com to provide DNS for cabot-biz.com and stkusers.com. Both seem to be working. However when I try http://www.stkusers.com the DNS fails. It works with http://stkusers.com

I got it to work for me locally by putting

66.112.33.128 stkusers.com

in the /etc/hosts file on my server. Does that work for remote users ? Do I need to modify the DNS record at the DNS server ??

I'm running RedHad 7.1 server on an HP 8500. ISP is CenturyTel ADSL. IP is static.

6 REPLIES 6
Vernon Brown_2
Frequent Advisor

Re: WWW and DNS

Correction, the /etc/hosts entry is:

66.112.33.128 www.stkusers.com

Oren Amit
Advisor

Re: WWW and DNS

Hi,

The change in /etc/hosts will only efect the users on your machine (the one that you edited the /etc/hosts on).
If you update the entry in the DNS then all users that use that DNS will "see" the change.
Hope this helps.
Oren
Vernon Brown_2
Frequent Advisor

Re: WWW and DNS

I thought that would be the case. I'll try to update the DNS, but I don't know what kind of entry is needed there. Does anyone know what would work.
Vernon Brown_2
Frequent Advisor

Re: WWW and DNS

I added the following entry in the DNS zone file at granitecanyon.com:

www.stkusers.com. IN CNAME stkusers.com.

Should know if it works in about 24 hours.
Vernon Brown_2
Frequent Advisor

Re: WWW and DNS

In case anyone is wondering the CNAME entry at the DNS did work !!
Peter_91
Occasional Advisor

Re: WWW and DNS

Out of interest 'www' is just a conventional prefix given to the domain similar to 'ns#'. I just think of these babies as subdomains.

Peter
-have you ever programmed youself into a corner.