If I have a URL like:
http://www.example.com:9090/test.html
Then I know that www.example.com is the host name, but what do you
www.example.com
I don't think so. If there was, I would expect the DOM to reflect this in the window.location class: https://developer.mozilla.org/En/DOM/Window.location