can't reach to my domain with 'www'

August 3, 2015 929 views

I've added a new DNS domain, which is ' mydomainname.io ' without 'www', and in this DNS domain, I have made two things

  1. add a 'A record', which is : @ , ip address.
  2. add a 'CName record', which is : * , mydomainname.io.

when everything is complete, I can go to the mydomainname.io however can't reach to www.mydomainname.io.

I followed some previously solutions like this one https://www.digitalocean.com/community/questions/domain-with-and-without-www,
say in the CName record:

Enter Name: www
Enter Hostname: @

but when I did this, the result turned to be
www , mydomainname.io.

and nothing changes afterwards, I still can't reach to www.mydomainname.io

2 Answers

Hi @helxsz, I just took a look at your account and it looks like the www.yourdomain.io is properly set up. It also resolves fine for me locally:

~ 👉  nslookup www.domain.io

Non-authoritative answer:
www.domain.io   canonical name = domain.io.
Name:   domain.io

Are you still experiencing this issue? Try clearing your computer's DNS cache and see if that helps.

Thanks, it is well solved.

Have another answer? Share your knowledge.