Change domain on OpenLiteSpeed Wordpress

July 17, 2019 189 views
DigitalOcean Ubuntu 18.04

Hi,

I want to change the domain of my site, I don’t know what files I’ll need to edit on the server in order to work properly, I’m currently running the standard OLS install, I did this before on NGINX but I don’t know anything about OLS… Also, after migrating the domain what’s the correct way to install the SSL for the new domain and delete the old certificate?

Thanks.

1 Answer

Hello,

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 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/

Hopw that this helps!
Bobby

Have another answer? Share your knowledge.