LPS-42820 Add logic to recognize virtual hosts
LPS-42820 If layoutURL is null, then we are in a web content url