Not quite sure I phrased the question the best, but:
I have hundreds of subdomains set up for environments in Route53 for AWS that look like this:
<project>.dev.internalurl.us
<project>.qa.internalurl.us
<project>.pt.internalurl.us
<project>.internalurl.us
The issue is that our production internal urls are missing the env in the url which requires us to add conditionals to all our config scripts. What I need is
<appX>.prod.internalurl.us to go to <appX>.internalurl.us.
I added a CNAME to route prod.internalurl.us to internalurl.us, but I don't think its working since it's ignoring the first "appX" subdomain?
I don't want to have to enter in hundreds of CNAMES, obviously, so am looking for a catch-all redirect for one sub-domain level.
Is there a way to do this or does it require running an nginx server at prod.internalurl.us to make this work?
Aucun commentaire:
Enregistrer un commentaire