I have a Zen Cart install v138a which starts up with a domain host name other than the one specified in config.php define HTTP_SERVER. Is that supposed to happen?

I don't think php could check the url. Is there javascript that is supposed to check that?