S shillongserver New Member May 10, 2021 #1 May 10, 2021 #1 How do I create new virtual hosts and mapped them to listeners via CLI in OpenLiteSpeed?
Cold-Egg Administrator May 11, 2021 #2 May 11, 2021 #2 No CLI, but there's a script that can help you to set up virtual hosts and listener mapping, https://github.com/litespeedtech/ols1clk#how-do-i-create-additional-virtual-hosts-from-console Do not run it when you have any control panel on the server. That script is designed for ols1clk or any other openlitespeed cloud images, so you might want to do some tests in other scenarios.
No CLI, but there's a script that can help you to set up virtual hosts and listener mapping, https://github.com/litespeedtech/ols1clk#how-do-i-create-additional-virtual-hosts-from-console Do not run it when you have any control panel on the server. That script is designed for ols1clk or any other openlitespeed cloud images, so you might want to do some tests in other scenarios.
S shillongserver New Member May 11, 2021 #3 May 11, 2021 #3 This is exactly what I need. Thanks for the help @Cold-Egg