Cannot edit/change Virtual Host Mappings in listener (via WebAdmin Console interface)

#1
Hello Litespeeders!
I have OLS server set on Amazon AWS EC2. I added 2 additional virtual hosts by scripts from here: WordPress | Images | Cloud | LiteSpeed Documentation (litespeedtech.com).

I want one of the new virtual host to be the new ‘catchall’ virtual host, but I cannot edit/update the first virtual host mappings done with first installation (see screenshot – the 3rd one). Every time I try to edit the mapping it gets back to the same old value (after save of course:). For me it’s very strange. I would like to put the asterisk ‘*’ in the first mapping (possible), and delete from third (not possible). Cannot do it. Why? Any ideas?

Listeners-1.png
PS: I Can edit all mappings in 2nd listener (ssl) without problems.

Thank You for any tips/links/anything..
Eryk
 

Cold-Egg

Administrator
#2
Not sure. But you could access to the "/usr/local/lsws/conf/httpd_config.conf" from SSH console, edit it with vi and scroll down to the listener section like follows, and remove the '*' from the 3rd one.

Code:
listener wordpress {
  address                 *:80
Hope it helps.
 
#3
Not sure. But you could access to the "/usr/local/lsws/conf/httpd_config.conf" from SSH console, edit it with vi and scroll down to the listener section like follows, and remove the '*' from the 3rd one.

Code:
listener wordpress {
  address                 *:80
Hope it helps.
Thx! I though it needs to edit the some conf file (what I would like to avoid) - but I have to give it a shot :)
 
#4
After same time I can confirm for others that WebAdmin Console interface is not properly synchronizing listeners and virtual hosts settings with config files, especially deletes. You need to look up into config file "/usr/local/lsws/conf/httpd_config.conf" as Cold-Egg pointed and check up if your settings are made and visible. Some settings are not deleted from config, even if you remove them in www panel.

These settings are not in database, but in plain (txt) files so synchronizing them can be tricky, I understand. So be careful, and not trust only what you see in panel:)

Stay safe!
 
Top