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
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!
Hello there,
You would need to update your OLS Virtual Host with the new domain name. Here’s a step by step guide on how to do that from the OLS official website:
https://openlitespeed.org/kb/setting-up-name-based-virtual-hosting-on-openlitespeed/
After that you can follow the steps here on how to install the Let’s Encrypt certificate for the new website using certbot, again this is an article from their official knowledge base:
https://openlitespeed.org/kb/lets-encrypt-ssl-on-openlitespeed/
Hope that this helps! Regards, Alex
Hi,
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.
https://docs.litespeedtech.com/cloud/images/wordpress/#step-2-add-domain-to-listener
Best, Eric
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.