LPS-44575 Adjust virtual host based on referred layout