Need help with worker code

newsubdomain.domain.com that displays…
domaincom/brand/special-page

*When goto newsubdomain.domaincom
it stays in browser. does not forward.

when goto domaincom/brand/special-page
nothing masked.

A post was merged into an existing topic: Subdomain to mask a subdirectory

Duplicate post.