Ticker

6/recent/ticker-posts

Header Ads Widget

Shared Hosting with Namecheap. Free .Website domain & WhoisGuard

How to create additional virtual host to host 2 WordPress websites on OpenLiteSpeed



As you know that there is an option to install OpenLiteSpeed using script specially for cloud server. Few cloud providers like Digital Ocean, Linode, AWS, Google Cloud etc., do provide one click install scripts which can be used to deploy various applications along with OpenLiteSpeed including the famous blogging platform WordPress.

When you run the script, only one website can be run on the server. What if we want to have multiple websites on the same server?

Now you might be thinking why would we want to have multiple websites. The reason being that OpenLiteSpeed server takes, on an average, 40% less server resources as compared to Apache. This claim isn't from any benchmark but i have personally observed it running various blog as well e-commerce sites on both Apache and OpenLiteSpeed. So there is a possibility that your server resources will be available and you can host a second website on the same server.


To host second WordPress website on OpenLiteSpeed Server, follow the below steps:

1. Point the domain you want to use to your server IP Address. You can get the IP address from your host.

2. Login to your server using SSH (root@IP_ADDRESS)

3. Run the following script 

/bin/bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/vhsetup.sh ) -d www.example.com -le admin@example.com -f -w

Change the domain name and email address to actual values.


Post a Comment

0 Comments