Removed trailing slash from domain name to avoid duplicate slashes since path starts with a slash.