Hi everyone. I installed WordPress in Ubuntu, and I have a domain i want to use with the WordPress Droplet, I put the DNS configuration (AAA, A, CNAME) like the config tutorial everything works fine, in GoDaddy I point to my DO servers, everything is fine… But, when I go to the domain url it shows the page but changes my domain URL to the droplet IP URL. Like redirects the DOMAIN to the IP and the URL changes from mydomain.com to the 192.xxx.xxx. IP droplet.
I see many post of this problem here, so, i change the URL Settings in WordPress Dashboard (only the homepage URL) to mydomain.com, it loads perfect but fonts icons are not loading correctly and when I try to go the WordPress admin panel, I can’t, so I inspect with JS the url and seems like is redirecting to the mydomain.com URL and not the droplet (where are all the files) and loops, so I change the URL in the JS inspector and put the Droplet IP. In the inspector, doing this i can enter, and I was be able to edit the URL Settings in WordPress Dashboard and put the older (IP Droplet Adress) instead the domain…
My question is… How I can have this working? I have to put mydomain.com in both of Settings URL of WordPress Dashboard and will work fine? Or the pages will crash? This is a Apache problem config? Please… I will appreciate any help, I have days in this problem…
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!
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.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.