We had a setup before which is running for example staging.website.net then when we activated Cloudflare we changed our domain to staging-new.website.com which was working fine. Now we ran into an issue on the new URL(staging-new.website.com) so we needed to revert back to staging.website.net. The problem is whenever we execute or proxy to the old URL(staging.website.net) Cloudflare automatically redirects it back to new URL(staging-new.website.com). Can you guys please help?
Hi @epic.network, Thank you so much for the quick response. We we’re not using Cloudflare before so this was supposed to be the first time. I have checked redirect rules but there is no configuration implemented there as of the moment. All new domain redirected to the same IP before gets automatically redirected to the previous URL which should not be active anymore.
You may not have been, but you may have been using a service provider who was, such as Shopify, ClickFunnels, or WPEngine. If that was the case, it has been observed where the previous provider still has a particular name in their account which will have priority, thereby causing unexpected results. The linked article contains a method to resolve that situating.
If that is not the cause, it will be difficult to offer more specific guidance without the actual names that are exhibiting the behavior.
Thanks again for this but we we’re running just woocommerce on our site and have our own installation of wordpress as well. Our server was setup manually before we implemented Cloudflare. With regards to the actual names, here are the URL’s that we are using ‘staging.timwendelboe.no’ (original staging URL) then shifted to ‘old-staging.timwendelboe.coffee’. This worked when we activated Cloudflare but we needed to go back ‘staging.timwendelboe.no’ again due to caching plugin integration. When we revert back all of the other new subdomain we implement for example ‘staging-new.timwendelboe.no’ or ‘stagings.timwendelboe.no’, all of this gets redirected back to ‘old-staging.timwendelboe.coffee’