When checking $Env{}, which is the proper key to use to see if the domain is www.myserver.com or myserver.com, or is there another more technically correct way do to this?
When I use either 'HTTP_HOST' or 'SERVER_NAME', I get the same result. I want to be safe so my code is more portable.