When I purchased domain and website from whois.com, they linked the domain to the site automatically. This is easy to use, many of hosting service provide like this way. Anyone who doesn’t know about DNS, Apache or programming can build website easily. What a good service it is!
But wait, something is missed, www is not automatically recognized. When I type www.tituschoi.com on the browser, it goes to yahoo home page! What a crap! So I decide to fix this.
Here’s how to.
- Go to your domain setup page. In my case, I logged in whois.com > DNS management
- When opened DNS information page, click CNAME. You need to add CNAME. This is also used for adding subdomain. input Value as www. TTL is not much important, just leave it default value.
- After add CNAME, you can see it like this.
- When you ping it from terminal, it doesn’t work. But this is normal. It takes up to 3 days to be applied to DNS servers. In my case, it just took overnight.
Relax, time heals all wounds!