Domain Redirecting to Another Cloudflare Domain

Hey guys.

Something weird is going on.

I have domain A (subdomain.example.com) with Cloudflare and Domain B (example2.com root domain).

When i go to a subdomain.example.com (this is created in DNS Zone and in my WHM with a Wordpress Instalation) automaticly redirects to example2.com (root folder www.example2.com)…

I checked:

DNS
HTACCESS for any redirect and nothing.
Redirect on WHM in each account and nothing.
My HOST file on my PC and nothing.
I delete both accounts from Cloudflare, i add them again and nothing, still the same…

I dont know what to do anymore…

Let me know!

Thank you guys!

Post the actual URLs.

2 Likes

Hi.

mute.entry.com.ar is the one with issues.
and is redirected to: www.amalaya.uy

Let me know.

Usually I would have said it is a page rule, but in this case it seems to be Wordpress. Check the header that gets sent along with the redirect.

x-redirect-by: WordPress

How can i do this?

From cPanel they told me this:

In the server the redirect not happen.

Please try disabling Cloudflare for mute.entry.com.ar and let us know if the issue persists or not after doing so. if the issue does persist, please leave Cloudflare disabled for mute.entry.com.ar and then respond to this ticket and we will further investigate.

Did you try this? I am pretty sure you will still have the redirect. That does not seem to be Cloudflare related.

I didnt try this because i was waiting for your comment. This is something weird… i dont know how to proceed. Never happend to me.

image
I just recive this… WTF ahah

I just try to login to mute.entry.com.ar/wp-admin and it works… when i go to the site, redirect again…

Yes, it is a local issue.

And yes, it is the usual SSL thing.

Your server is not configured to serve entry.com.ar on HTTPS and defaults back to the other domain for all HTTPS requests. You need to tell your host to fix that configuration and install a proper certificate, valid for your domain.

Im the host… The thing is… im not using any certificate… im using only Cloudflare…

Then talk to yourself :smile:

Seriously, you need a certificate. Install a certificate and make sure your HTTPS configuration is correct and the issue will be fixed.

Sandro, we only use Cloudflare SSL…

That is precisely what I understood and why I wrote what I wrote before :wink:

You need a certificate on your server if you want to use HTTPS.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.