Why my domain name not open on mobile phones since I changed my nameserver to cloudflare?


#1

I changed my nameserver to cloudflare and I noticed my website only opened on laptop and not open on mobile phone. what might be happening? My domain name is bfocuspreneur.com.


My website is not Accessible
#2

I’m accessing this site on my phone and I’m being redirected to cpanel.bfocuspreneur.com is it expected?


#3

exactly…that’s the issue. but it will open on your laptop


#4

is not expected…It started since I changed my nameserver to cloudflare…


#5

Do you have Mobile Redirect enabled in Cloudflare?


#7

I don’t think so domjh


#8

Can you check that?

The redirect appears to be coming from Cloudflare. Also, do you have any page rules enabled in Cloudflare?

>>> https://bfocuspreneur.com

> --------------------------------------------
> 302 Moved Temporarily
> --------------------------------------------

Status: 302 Moved Temporarily
Code: 302
Date: Thu, 14 Feb 2019 16:34:13 GMT
Connection: close
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Location: https://cpanel.bfocuspreneur.com/
Expect-CT: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: cloudflare
CF-RAY: 4a90f0e4ad5abead-FRA

#9

Another strange thing I notice is that when I try to open your site through a short link e.g.: https://wp.me/P9QBfN-VK it opens fine on mobile.


#10

i’m familiar with the short link, how did you get that?


#11
curl -I https://bfocuspreneur.com
HTTP/2 200
date: Thu, 14 Feb 2019 16:29:11 GMT
content-type: text/html; charset=UTF-8
set-cookie: __cfduid=d903f84915b654c3142a1a42fd4c7210d1550161749; expires=Fri, 14-Feb-20 16:29:09 GMT; path=/; domain=.bfocuspreneur.com; HttpOnly
link: <https://bfocuspreneur.com/wp-json/>; rel="https://api.w.org/", <https://wp.me/P9QBfN-VK>; rel=shortlink, <https://bfocuspreneur.com/wp-json/>; rel="https://api.w.org/", <https://wp.me/P9QBfN-VK>; rel=shortlink
last-modified: Thu, 14 Feb 2019 15:52:23 GMT
referrer-policy: no-referrer-when-downgrade
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 4a90e977dd706587-SYD

#12

Great…it has been solved…Bravo! you rock…the mobile redirect was enabled and disabled. Grateful to you.


#13

Glad it is solved! No problem :slight_smile:


#14

well…seems you are just a guru in this line…I don’t know how you got to this place. Though I could see the short link from the codes. I will love to learn more. lol


#15

No rocket science, I was just using curl to check server headers.
https://curl.haxx.se/


#16

great! that’s new to my knowledge…Thanks you increase my knowledge just like domjh did…you guys rock.


#17

Where did You check the response? It’d be really helpful to know since curl was returning 200 not 302 :frowning:


#18

I checked with http://www.redirect-checker.org as you can change the user agent. Curl will return 200 on desktop as the redirect was only for mobile.


#19

I see! …Interesting. Thanks for enlightenment