API SUBDOMAIN WORKING