Hello CF Community.
Wanted to thank you and say you are awesome.
I have a subdomain (grz) setup in my cpanel and it points to /public_html with no redirect. The subdomain is part of a Wordpress multi-site. The subdomain will be mapped to a domain.
So when I go to the subdomain, it gets redirected to a completely different domain. Regardless if I type the subdomain in directly in the url bar, or I try to access the dashboard from the network admin dashboard, it redirects to a completely different domain.
My Cloudflare account has three sites. Let’s say domainA, domainB and domainC. The subdomain grz.domainA.com is redirecting to domainC.com.
I’ve deleted the grz sub domain from cpanel, CF, and deleted the site from the multisite. Then re-added everything with the same result. Additionally, the domainA and domainC are in separate cpanel accounts on the same VPS.
I was able to trace with redirect check (dot com) and here is the report. For security, I’ve replaced the domain names with DomainA and DomainC. I’ve made the text bold where I think the issue is. My issue is that I have no clue what to do!
HTTP/1.1 301 Moved Permanently
Date: Fri, 04 Aug 2017 02:45:46 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Fri, 04 Aug 2017 03:45:46 GMT
Location: https:// grz.domainA.com/
Server: Cloudflare-nginx
CF-RAY: 388e2exxxxx46ec-EWR
HTTP/1.1 301 Moved Permanently
Date: Fri, 04 Aug 2017 02:45:49 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d9d7de67d223cxxxxxxxxxxxfee9f2831501814748; expires=Sat, 04-Aug-18 02:45:48 GMT; path=/; domain=.domainA.com; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: PHPSESSID=h718s877xxxxxx3edlbmp2pj1; path=/
Vary: Accept-Encoding
Location: https ://domainC.com/
Server: Cloudflare-nginx
CF-RAY: 388e2xxxxxxcf1870-EWR
HTTP/1.1 200 OK
Date: Fri, 04 Aug 2017 02:45:50 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d983936070ae25xxxxxxxxfa338371501814750; expires=Sat, 04-Aug-18 02:45:50 GMT; path=/;domain=.domainC.com; HttpOnly
Vary: Accept-Encoding,Cookie
Last-Modified: Fri, 04 Aug 2017 01:44:50 GMT
Cache-Control: max-age=0, public
Expires: Fri, 04 Aug 2017 02:45:50 GMT
Pragma: public
Server: Cloudflare-nginx
CF-RAY: 388e2xxxxxxc2156-EWR
If you want the actual url I’d be glad to provide it in a private message.
Thank you!