After pointing the nameserver to digitalocean and creating "A" record, what are the step required for hosting my content?

Posted March 10, 2015 3.5k views
UbuntuMiscellaneousGetting StartedNetworking

I have pointed the nameserver to digital ocean, and created “A” record. I am able to ping my site from root account but not from outside. Also, when I ping from outside, this is pointing to other IP address. Am I missing any step?

I have not filled the hostname and IP address field at godaddy except the nameserver. Also, “A” record is pointing to public IP of my droplet.

When I type my domain name on the browser, it is pointing to some othersite.

Any help, pointer in this regard will be helpful.

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.

Submit an Answer
2 answers

Pointing NS records to DigitalOcean is to move your DNS queries to DO.
So you’ll need to set your A records using the DNS settings on the DO Control Panel (
Or just keep the NameServers at godaddy (it’s quite fast) and just point the A record to your droplet.

  • Thanks for the guidance.

    I have created the “A” record. 1800 IN A xx.xx.xx.xx
    * 1800 IN CNAME

    I have used IP address “xx.xx.xx.xx” which is my public IP.

    Then also, when I ping from outside, it is pinging some arbitrary IP:

    Non-authoritative answer:

  • If it still points to the old address either the changes didn’t propagate yet (it doesn’t depend on you; some places take up to 48h to fully propagate) or you forgot remove the records at the place where you used to manage your site DNS records.

    If these records remain active you’ll be doing an unintentional Round Robin DNS, serving the page from the old ip some times and from the new at others.