revise subdomain to domain