Adding DNS to the droplet and changing nameserver in namecheap

As I was following the tutorial Point to DigitalOcean Nameservers From Common Domain Registrars I did all the expected changes on both the digital ocean droplet dashboard and updated the nameservers in the Namecheap domain management section as shown in the tutorial. But until now I can’t seem to be in a position to access my website through the domain name even though I can access it through the server’s IP address. Kindly advise on what I could be during wrong, it’s urgent and I would greatly appreciate any assistance.

I’m on ubuntu, using Apache2 and Phusion passenger to facilitate this process in a ruby digital ocean droplet.


        DocumentRoot /var/www/financehubcode/FinanceHub1/public

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

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.

Bobby Iliev
Site Moderator
Site Moderator badge
November 14, 2022
Accepted Answer

Hi there,

Did you also add your domain name to your DigitalOcean account as described here:

Once you add the domain name there, you need to also add an A record to your DNS zone, to point to the Droplet’s IP address:

Once the A record has been added, it can take up to 24 hours for the DNS cache to clear over the Globe, before you could see the new records.

Let me know how it goes!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel