Once initial setup is done - How can someone change the domain name?

Posted April 26, 2020 348 views
OpenLiteSpeed WordPress 1-Click

Product is Wordpress by digitalocean and not OpenLiteSpeed Wordpress

While initial setup - used different domain name just to set and test site. once, all done - how can we update the domain name.

tried to update siteUrl and home with wp cli

wp option update home ‘new url’
wp option update siteurl 'new url’

but no luck.

Checked apache block -I can see variable $domain. but not sure how to update that.


1 comment
  • Did you find any solution? I also have a similar situation where I used different domain name while setup and once the site is ready and tested I want to change the domain name. I am using Digital Ocean Wordpress one click install template from DO Marketplace.

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.

1 answer


If you are using OpenLiteSpeed, please access to the web admin at port 7080. And follow this doc to add your new domain on the listener. Otherwise you may just get a 404 page. Before accessing to the web admin, please make sure you have port 7080 allowed, ufw allow 7080.


Submit an Answer