Convert subdomain to sub-URL