Works with subdomain or url