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.

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:

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

Try DigitalOcean for free

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

Sign up

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.