EDS event host subdomain main code