WordPress site on droplet only works if I enter the IP address. Domain isn't working.

November 2, 2017 103 views
WordPress

I'm hoping to find some help with this one. I finally got my wordpress site up and running, but now it will only work if I enter my droplet server's IP address. My domain gives a page not found error when I try access it, saying the DNS address could not be found. However the nameservers are set to be ns1, ns2, n3.digitalocean.com and the website URL was working fine prior to setting up wordpress (it loaded the typical blank apache page before).

1 comment
  • Have you add the zone in the DO panel? Also check the database in case you need to update the base url and site url. You can use tool such as wp-cli for search and replace string in the database.

Be the first one to answer this question.