Resolved: Weird Website Redirect Issues



  • I have 3 domains and 2 sites with a weird redirect issue. DomainA1.com redirects to DomainA2.com using cloudflare page rules and a 301 redirect. However, it ends up at DomainB.com. If I go directly to DomainA2.com, the proper site loads.

    The server is the one running cpanel with WP (on CentOS) where both sites and all 3 domains are pointed. Where should I look to figure out why DomainA1.com goes to DomainB.com?



  • @wrx7m said in Weird Website Redirect Issues:

    I have 3 domains and 2 sites with a weird redirect issue. DomainA1.com redirects to DomainA2.com using cloudflare page rules and a 301 redirect. However, it ends up at DomainB.com. If I go directly to DomainA2.com, the proper site loads.

    The server is the one running cpanel with WP (on CentOS) where both sites and all 3 domains are pointed. Where should I look to figure out why DomainA1.com goes to DomainB.com?

    Search everywhere DomainA1.com is configured in some way, and see if DomainB.com appears there by name or IP. Without knowing more, idk. Using a reverse proxy on the server? .htaccess redirect or rewrite? Lots of possibilities.



  • @Obsolesce said in Weird Website Redirect Issues:

    @wrx7m said in Weird Website Redirect Issues:

    I have 3 domains and 2 sites with a weird redirect issue. DomainA1.com redirects to DomainA2.com using cloudflare page rules and a 301 redirect. However, it ends up at DomainB.com. If I go directly to DomainA2.com, the proper site loads.

    The server is the one running cpanel with WP (on CentOS) where both sites and all 3 domains are pointed. Where should I look to figure out why DomainA1.com goes to DomainB.com?

    Search everywhere DomainA1.com is configured in some way, and see if DomainB.com appears there by name or IP. Without knowing more, idk. Using a reverse proxy on the server? .htaccess redirect or rewrite? Lots of possibilities.

    Thanks. I am having the guy who is currently doing our websites take a look at WP to see what is happening.



  • Turns out that there was a wildcard A record in DomainA2.com