How to change domain name after using wordpress image.

I followed the guide for the wordpress image available on marketplace and setup my wordpress site before I had a domain name, (here is the guide: I have now changed my domain in wordpress settings and everything is working fine once the site load so there is no issue with wordpress or the hyperlinks. My website is: The problem is that occasionally when new devices load the site it redirects to the ip address and then redirects back to the site, im guessing this is due to the domain name being set to the ip address of the server when I was setting it up using the image, I just dont know how to change it. I checked the virtual hosts file and it was blank so I am unsure what to do. Thanks for any help

Submit an answer

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!

Sign In or Sign Up to Answer

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.


It is possible that this could be due to caching. If you are using a caching plugin make sure to flush the cache.

As long as your site and home URLs are set to the new domain name this should not be an issue:

Also, another thing that I would recommend is making sure that your Apache Virtual host is set correctly to match your domain name. Regards, Bobby