added logic to route tech subdomain