Default the host to the server the page is running on, if running on a server.