In this article, I will provide a solution to the “origin error due to server migration”.
Let us understand a use case that many of us have faced.
You have a website that is configured as below:
Hosting service provider – hostinger
DNS Management – Cloudflare
Cloudflare integrated into ezoic so that cname points to ezoic proxy in Cloudflare DNS records.
Cause
Due to server migration, the server’s IP changed, but this IP change is not updated into ezoic DNS settings, due to this, cname is still pointing to the old IP (which is non-existent now or non-functional).
Solution
Update new IP in ezoic DNS settings for cname and ftp record.
Conclusion
“Origin Error” issue might seem obvious but it can cause your website inaccessible for both visitors and admin. The root cause of the issue is that we don’t know how these integrations work but we expect it to work automatically. Also, whenever we face such an issue we should not panic but try to understand the basics.