Question

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.

VH:


        ServerAdmin info@financialshub.info
        ServerName financialshub.info
        ServerAlias www.financialshub.info
        DocumentRoot /var/www/financehubcode/FinanceHub1/public

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


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.

Accepted Answer

Hi there,

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

https://docs.digitalocean.com/products/networking/dns/how-to/add-domains/

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:

https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/

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!

Best,

Bobby