[webserver_common] fix host activation when renaming