Added subdomain functionality to url.