modify the domain to subdomain