Closed wslack closed 7 years ago
Need to confirm this looks right.
@wslack The current path for pages.18f.gov
CDN service instance is the default: ""
updated! @ccostino once you verify this looks ok we can execute.
I think this is okay and should be good to go. Nice to see the revert plan just in case, too. :-) Thanks, @wslack!
Just realized my PR to the pages-redirects app needs a review first!
That's the https://github.com/18F/pages-redirects/pull/69 PR, right @wslack?
I gave this a 👀 as well. :+1: from me!
Sorry all, one more thing I don't understand. When I run cf service pages.18f.gov
in the redirects
space, I see Service instance provisioned [pages.18f.gov,guides.18f.gov => federalist-redirect.app.cloud.gov]
But pages.18f.gov is linked to pages-redirects already....so is the mapping in the space overriding the CDN setting?
I'd think it would be the opposite. I'd think whatever is configured in the DNS repo will take precedence, and right now the DNS repo points both pages.18f.gov
and guides.18f.gov
to the same CloudFront instance. I'd imagine that's this pages.18f.gov
service.
So the DNS repo is pointed to this CloudFrong route, and this cloudfront route is pointed at federalist-redirect.app.cloud.gov......so what is pointed at pages-redirects.app.cloud.gov?
I think the routes are bound in a way that overrides the config. I don't think my command will impact that, but I'm not 100% sure.
New command cf update-service pages.18f.gov -c '{"domain": "pages.18f.gov", "origin": "pages-redirects.app.cloud.gov", "path": ""}'
Completed through step 5 right now, waiting for domain to be available for step 6.
Got domain, just filed new DNS record
This is done! We forgot to update the menu links, which https://github.com/18F/guides/pull/52 took care of.
Steps:
cf update-service pages.18f.gov -c '{"domain": "pages.18f.gov", "origin": "federalist-redirect.app.cloud.gov", "path": ""}'
cf create-service cdn-route cdn-route guides.18f.gov-route -c '{"domain": "guides.18f.gov", "origin": "federalist-proxy.app.cloud.gov", "path": "/site/18f/guides"}'
Revert plan: