Question

Possible issue with my DNS setup

I followed the DNS (https://www.digitalocean.com/docs/networking/dns/quickstart/) and Apache Virtual Hosts (https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04) tutorials and thought / hoped I had set everything up correctly. This is my first time doing these webadmin tasks without a user-friendly webapp/portal tool.

I was hosting two sites on Dreamhost and decided to migrate to DO for both the cost savings and to gain the experience of actually doing the manual setup. I was able to migrate and launch my first site (and email) just fine. It was a simple static website. The second was a bit more complex, it was a single WordPress site. I did the website last week. I just did the WP blog yesterday.

I believe / hope my issue is just that the DNS hasn’t moved from DH to DO. When I dig the site from my laptop I don’t get any results but when I dig from my DO server I get the expected ip.

Any recommendations? Do you think I screwed up the DNS config on my DO droplet? Or possibly screwed up the virtual host config for the blog? Maybe screwed up the WP install?


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

I believe I no longer have a dns issue. Dig now returns my new, IP, from my DO droplet.

The current issue(s): It appears none of the links from my blog’s home page work: Individual post - http://erik.weibust.net/2020/05/08/back-from-the-grave/ Category page - http://erik.weibust.net/category/technology/ About page - http://erik.weibust.net/about/ Comments - http://erik.weibust.net/2020/05/08/back-from-the-grave/comment-page-1/#comment-427001

What does work:

  1. My blog home page is live (http://erik.weibust.net/)
  2. I can login to the WordPress Admin
  3. I can make new blog posts and see them show up on the home page (http://erik.weibust.net/2020/05/12/testing-from-new-web-host/)

Thoughts?

Erik

alexdo
Site Moderator
Site Moderator badge
May 14, 2020

Hello, @erik308208

Could you please let me know if you’ve updated your domain’s nameservers or you’ve simply updated the A record for the domain name? What happens when you dig for the A record of the domain name?

Basically if you can explain what DNS changes you’ve done so far it will help me to point you in the right direction.

If you want to switch your nameservers to ns1.digitalocean.com, ns2.digitalocean.com, ns3.digitalocean.com you can follow this tutorial:

https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars

And if you want to simply update the A record you can do that as well from the domain’s registrar control panel and point the A record to the IP address of your DigitalOcean droplet.

Hope this helps!

Regards, Alex

Try DigitalOcean for free

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

Sign up

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