Changing your origin when already on Section Follow
When you want to change your origin servers when already on Section, it can be achieved one of two ways. Keep in mind that in this article we are talking about simply migrating to a new origin, not building a new site.
Set-up a Host Name
A popular work flow that we recommend is to setup a host name such as "origin.sitename.com"
Then using DNS to point origin.sitename.com to the current origin.
We would have Section pointed at origin.sitename.com.
So the result is this:
Browser -> Section.io -> origin.sitename.com -> old origin
This type of setup is great for origin changes, because it will give you exact control over when the change over occurs. When you are ready to direct traffic to the new servers, all it requires is a DNS change (with short timer e.g. 60 seconds) on your part to point origin.sitename.com to the new origin. This will result in:
Browser -> Section.io -> origin.sitename.com -> new origin
Should there be an issue with the new origin, you can quickly change the DNS to point back at the old origin (and this would resolve quickly due to the previously mentioned short timer) instead of raising a new ticket and waiting for us to revert the change.
Once changes are made and you are happy with the results, you can increase the DNS TTL to something longer.
Comments
0 comments
Please sign in to leave a comment.