FRIHOST • FORUMS • SEARCH • FAQ • TOS • BLOGS • COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Web DNS add CNAME record (TUTORIAL).





honken
First of all, i want to say im sorry, i know i said i was going to do this like 2-3 weeks ago.
But been sick and lack of motivation is the cause behind the lateness.


Well anyways, since Rosencruz (pardon the spelling) asked for this, i thought i would start out simple.
And lets start with CNAME records.

And what is a CNAME (except that its a abbreviation for Canonical Name record).
Found this great wikipedia article that explains CNAME
http://en.wikipedia.org/wiki/CNAME_record, it will explain it more then i want to spend time writing about it.

To make it simple i looooove using CNAME when i want to point something.
Here is an example, since my current ISP (Internet Service Provider) is using DHCP (BUUUUU!, i like static IPs) i donīt want to login to my DNS provider and update my CNAME records every time my ISP gives me a new IP.

Then i got my self a dyndns.org account (since my router supports this function) and gave my self a subdomain of one of the domains they offer (this you can see in the images below).
So my dyndns host is osterman.dlinkddns.com but i donīt like that host, and i wanted my own subdomain/domain pointed to me.
So what i did was to create a CNAME record and point the subdomain i wanted to osterman.dlinkddns.com.

This makes it so that my subdomain page.osterman.eu points to osterman.dlinkddns.com.
So all traffic that goes to page.osterman.eu gets redirected to osterman.dlinkddns.com and since my router updates my current IP to dyndns, the traffic finally hits my current IP.

Its a long way around, but it works.
And i can live with it.


-----------

But how to add this CNAME record you ask?
Well what i found is that all DNS providers have their own interface, but the functions is the same.
Just looks different but is the same none the less.

So here is the first of 4 (four) images i will show in this TUT.

1. Here is my current setup, its not much but it handels my mail that i have at Google Apps. And under CNAME you can see the record for page.osterman.eu and where it points.
https://www.box.com/s/egka1xz69ozpurmr9xxc



2. Above i have a dropbox to show the options i have in adding a record. In here i pick the all mighty CNAME-record.
https://www.box.com/s/v6kgumgkt3xmlgswawlf


3. Now im going to point google.osterman.eu to www.google.com (just for fun). I fill in the (Sub-)Domain as google and then the Alias where i want to point it to, in this case www.google.com. Sure you can play with the TTL if you want, but i see no point at this time. And joker.com also gives me the options to fill in how long this point should be valid, but i will ignore that, since i want this to be for ever and ever and ever!.
https://www.box.com/s/872ya6ea791fg28c7voo


4. After i pressed save, you can now see that the changes are in place (might take up to one (1) hour before it hits and the ROOT-servers are updated with this new information as well (worst case senario 24h).
https://www.box.com/s/4syes6lzvbc9nu82qfg9


Well this is a very simple way of adding a CNAME, but as i said before, it looks different between all the DNS providers out their.
But you should later see how it looks to setup a domain-zone in BIND, thats fun, when it donīt work and you need to read the logs to troubleshoot and fix it.
And also setting up a MASTER and SLAVE for your domain, DNSSEC etc, PUHA! itīs a lot of things to think of and do correct Smile

Well i hope this will help you on your way to either understand,edit,host or just be a DNS GURU (I'm not), i think its good to follow the test your way forward, and get some errors and learn by mistakes along the way.

PS: Images links to my Box.net account, since i dont want them to die out and this mini-tutorial becomes useless after a while.


Cheers
honken
Related topics
addon domains / rndc: connect failed
Tutorial website
CName?
CNAME
1&1 Now Give Subdomains With Domain-Only
Login System Tutorial Part 1 Creating Registration
Google app
google apps
CNAME (or A Record) referencing to Frihost sites
[Resolved] Can't get two domains working
help me understand the workaround of url eg like this--->
MX Records and DNS Records
Permission to modify CNAME record [solved]
Free dns hosting (good one)
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> Domain Names

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.