Question

can't reach to my domain with 'www'

  • Posted August 3, 2015
  • DNS

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

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Thanks, it is well solved.

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
Server:		8.8.8.8
Address:	8.8.8.8#53

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

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