Domain automatically redirecting to droplet IP - one-click Wordpress installation
I’m using the one-click Wordpress installation which is run on Ubuntu 16.04. I had my domain set up prior to installing WP on my droplet, and when I try to access my domain it redirects to my droplet IP’s address with the WP installation.
Tried changing the Site Address (URL) to the site - it did nothing. Then I also changed the Wordpress Address (URL) and I couldn’t access Wordpress anymore. It kept redirecting to the domain and my browser said it couldn’t find the DNS address so I was stuck on an error page. Tried rebuilding and I faced the same problem. (yes, I did try clearing my browser’s cache too)
How can I fix this? I want my WP installation so that all pages are on my domain. I don’t want it to redirect to the IP. I already changed nameservers and set up an A record at @.
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.×