strip env from parent domain