How do I make my domain work?

October 26, 2014 3.8k views

I moved my website hosting to digital ocean. I changed the DNS in godaddy where I registered it and added records in DO control panel. When I ping my website (georgekmeid.com) it resolves to my droplet IP as it should but the browser can’t find my domain. However, when I enter my IP instead of my domain, my website loads successfully.

This is my zone file:

“`$TTL 1800
@ IN SOA NS1.DIGITALOCEAN.COM. hostmaster.georgekmeid.com. (
1414269135 ; last update: 2014-10-25 20:32:15 UTC
3600 ; refresh
900 ; retry
1209600 ; expire
1800 ; ttl
)
IN NS NS1.DIGITALOCEAN.COM.
NS NS2.DIGITALOCEAN.COM.
NS NS3.DIGITALOCEAN.COM.
MX 1 ASPMX.L.GOOGLE.COM.
MX 5 ALT1.ASPMX.L.GOOGLE.COM.
MX 5 ALT2.ASPMX.L.GOOGLE.COM.
MX 10 ASPMX2.GOOGLEMAIL.COM.
MX 10 ASPMX3.GOOGLEMAIL.COM.
@ IN A 178.62.108.107


Please help. Thank you.
3 Answers

On the surface. there doesn’t seem to be any problem with your Zone records.
You should try opening a ticket for this.

Opening your website georgekmeid.com in a browser redirects to www.georgekmeid.com. That sub domain does not exists.

Create a CNAME record for www and point it to @.

  • I already have “A” record for @. I got “CNAME records cannot share a name with other records”.

  • The name of the CNAME record should be www and the hostname should be @. It will take half an hour for the change to take effect.

  • Thank you. I hope it works.

to have cname record for “www” that points to @ you need to remove a A record for “www”.
so A record with domain.com that points to ip address and cname record with www.domain.com that points to a domain.com

Have another answer? Share your knowledge.