Question

How do I make my domain work?

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:

@		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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

I have had the following scenario:

  • No CNAME record.
  • Two A records with example.tld and www.example.tld
  • Two AAAA (IPV6) records with example.tld and www.example.tld
  • /etc/apache2/sites-available/example.tld.conf file had ServerName example.tld

I removed the A and AAAA records with the www.example.tld. Then added a CNAME with

  • Hostname www.
  • Is An Alias of <^>example.tld Note: dont forget/ignore the period (.) at the end of each field here.

Check https://mxtoolbox.com/SuperTool.aspx for both example.tld and www.example.tld before and after making the changes.

Hopefully it helps.

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 @.