Fix for domain names with subdomains containing dots