Question
WordPress site on droplet only works if I enter the IP address. Domain isn't working.
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).
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.
×
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.