[Tutorial] how to add 2nd IP for LiteSpeed Enterprise. — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

[Tutorial] how to add 2nd IP for LiteSpeed Enterprise.

For CyberPanel + OpenLiteSpeed, please refer to this post


For CyberPanel + LiteSpeed Enterprise , this has to be done in Apache configuration file

go to panel , website page , vhost conf , as screenshot



you will see the Apache directives

in this case, we have example.com and example2.com , 2 websites , and we will assign one dedicated IP for each site.

first of all , we need change both

<VirtualHost *:80>


<VirtualHost *:443>

to a dedicated IP ,

but default no matter how many IPs you have in your server, * will make the site accessible for all the IPs , however if you want to dedicated one IP for 1 sites

you have to remove all the *:80 and *:443 to a dedicated IP , one IP can be used on multiple sites

so in this test server ,

I will assign IP to example.com and to example2.com

so we change it to






as screenshot



save the change , and do a full stop and restart

/usr/local/lsws/bin/lswsctrl stop

/usr/local/lsws/bin/lswsctrl start

now verify the IP


Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!