Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2] Switch over the DNS (and do any Cloudflare level redirects) #432

Closed
8 tasks done
rufuspollock opened this issue Mar 2, 2020 · 17 comments
Closed
8 tasks done
Assignees

Comments

@rufuspollock
Copy link
Contributor

rufuspollock commented Mar 2, 2020

Switch over to the new site 😄

Acceptance

  • Existing fricitionlessdata.io is at old.frictionlessdata.io
  • current next.frictionlessdata.io is at frictionlessdata.io

Tasks

  • Add permanent redirects (301 HTTP status) in fd.io to new locations ... - should be part of [v2] Implement Redirects for v1 URLs #423 turns out you can't do this in Vue [^why] so we have to implement this at cloudflare level @amercader @lwinfree
    • /specs/* => specs.frictionlessdata.io/*
    • /schemas/* => specs.frictionlessdata.io/schemas/
  • Add old.frictionlessdata.io to cloudflare DNS pointing to this github @amercader @lwinfree
  • Change in website-v2 repo CNAME to frictionlessdata.io @lauragift21
  • Change CNAME in website repo to old.frictionlessdata.io @lauragift21 Old FD site is hosted in S3, already done
@roll
Copy link
Member

roll commented Mar 27, 2020

@amercader
It looks good as far as I can see but it makes sense to wait Monday before pulling the trigger

Also, I think it would be much better to manage all the redirect on the vuepress level for flexibility and speed of fixing problems

@roll
Copy link
Member

roll commented Mar 27, 2020

Also, I think it would be much better to manage all the redirect on the vuepress level for flexibility and speed of fixing problems

I mean the subdomains should be redirected on Cloudflare level for sure. But managing individual page redirects will be much better to manage in the codebase

@amercader
Copy link
Member

@rufuspollock

Add old.frictionlessdata.io to cloudflare DNS pointing to this github @amercader @lwinfree

What repo is that? I assume is not this one as there is no gh-pages branch

@rufuspollock
Copy link
Contributor Author

@roll all the redirects are done in the local codebase. the redirects here are the ones that have to happen in cloudflare (see comment in the description!)

Add old.frictionlessdata.io to cloudflare DNS pointing to this github @amercader @lwinfree

What repo is that? I assume is not this one as there is no gh-pages branch

@amercader you'd cname to frictionlessdata.github.io i believe (as per normal).

It looks good as far as I can see but it makes sense to wait Monday before pulling the trigger

@roll @amercader can't this happen today? these changes in cloudflare are non-breaking - the specs website is operational for weeks 😉

@roll
Copy link
Member

roll commented Mar 27, 2020

I see my bad. My focus is disordered as we're preparing to quarantine

I think we need to do the switch when both I and Adria (and maybe Lilly) are online to assist in real-time in case of any problem

@amercader
Copy link
Member

@lwinfree @rufuspollock @roll As of now we've done

Screenshot_2020-03-30 Page Rules frictionlessdata io Account Cloudflare - Web Performance Security

I'm holding in updating the records for the main site because the CNAME file is not updated there AFAICT. When you are ready on your end let me know, so we don't have downtime.

Please validate all these and let me know if they look good

@lauragift21
Copy link

@amercader I've just updated the CNAME on the main site.

@amercader
Copy link
Member

Thanks @lauragift21 , the DNS records are now updated

@roll
Copy link
Member

roll commented Mar 30, 2020

@lauragift21
http://specs.frictionlessdata.io/ - Table Schema is missing at the left

@lauragift21
Copy link

@rufuspollock @roll will look into these and fix asap.

@roll
Copy link
Member

roll commented Mar 31, 2020

Hi @lauragift21,

I received an email yesterday about https://old.frictionlessdata.io/field-guide/ - some person was reading it but it's not available anymore. I sent him the link above for now. But flagging it

@lauragift21
Copy link

Yes, thanks for pointing it out @roll. I'm looking into it here #448

@lauragift21
Copy link

@roll I've fixed the redirect issue on the site and tested out the broken links of which most of them now work. AFAIK some of the links have an additional /website-v2 which will always return 404 because it's a wrong link.

@roll
Copy link
Member

roll commented Apr 1, 2020

@lauragift21
Awesome

BTW these website-2 links leak somewhere because it was found by a broken links checker

@rufuspollock
Copy link
Contributor Author

FIXED. DNS switch happened with redirects.

@lauragift21 can you open a new issue for the broken links if that is still outstanding. And generally you can be proactive to close issues that are complete so that they don't clog up the repo.

@lauragift21
Copy link

Sure @rufuspollock. I've fixed the broken links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

5 participants