Question
Once initial setup is done - How can someone change the domain name?
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.
Thanks
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.
×
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.