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?

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.

×
2 answers

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

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

by Josh Barnett
by Kathleen Juell
DNS is the naming system that is used to bind a domain name to a web server. In this guide, we will change the nameservers for a domain that we have registered and point it to a DigitalOcean Droplet.
  • Howdy Alex,

    Yes I updated the nameservers with my domain registrar to point at ns1, ns2, and ns3.digitalocean.com.

    Dig -short erik.weibust.net is now returning my ip address. So it looks like that issue was just me needing to wait 2+ days for the dns to move from web host to web host.

    I still am unable to click into any of my blog posts. So that leads me to believe that the issue is now either my apache virtual host config or the way I ported and setup my blog on DO.

    Thoughts?

    Thanks,
    Erik

    • Hello, @erik308208

      All DNS changes might take up to 48 hours in order to fully update. This is due to ISP DNS cache and general DNS propagating as well. This usually happens a lot faster but will still take at least few hours to fully update.

      You can monitor the DNS propagation with any website like https://www.whatsmydns.net/ just select the desired record type A or MX and then click the Search button. It will show you a DNS record check from various points around the world. This will help you to see if there is a DNS misconfiguration or if it’s just the DNS slowly updating.

      Can you please describe the current issue with the blog? Is the site loading okay and is it just that only certain parts of the blog are not loading?

      Regards,
      Alex

Submit an Answer