DNS alias
Hi
For year lookups to my webserver worked properly using www IN CNAME pluto.mydomain.com. I've been asked to 'modernize' it by allowing access without one having to enter the 'www' in their browser. So I added - (or tried to) add an alias as follows: mydomain IN CNAME pluto.mydomain.com. www IN CNAME pluto.mydomain.com. I changed the serial number and stop/start named. This seemed to work, but only for some! It worked right away from home and from another location/DNS server. But access using 'mydomain.com' does not work from some others. It has been now 24 hrs since I restarted named with the new serial number. I did not change the reverse zone nor restart it. Should I? I this how an alias should be used to accomplish this? Your help and advice will be greatly appreciated. Zapo |
the best way is create "A record" to respond to the both www or-and w/o www
for me i stay away from cname |
Thank you for the quick reply. For the A record without the 'www' should I just put the domain name without the '.com'?
Zapo |
|
@OP
Except from the dns part, you have also to create an alias for your web server, so it can respond to both http://www.domain.com and http://domain.com Regards |
Nice work! Your post is an excellent example of why I keep coming back to read your excellent quality content that is forever updated.
|
All times are GMT -5. The time now is 06:44 PM. |