Disable Virtual Host

zoom

Well-Known Member
#1
Doesn't anyone know of a way to disable a virtual host to prevent it from starting when I make changes to other virtual hosts. It seems every time I do a graceful restart I have to select the host and disable it.

Just wondering if there is a setting somewhere for virtual hosts to disable them. I don't wish to delete them.

Thanks!!
 

mistwang

LiteSpeed Staff
#2
One simple solution is just take out the listener to vhost mapping for that vhost and add it back later when you want to enable it.
 
Top