Added variable to set the hostname under which URLs are served.