Mobile redirect

is it this what you were asking

Well, it is disabled and it doesnt point to the desired domain.

i want to redirect it to “app.hakkence.com” its a subdomain. what should i do.
please guide me how i can redirect

You need to enable it and select the host you want. Otherwise it obviously wont work.

how to add subdomain app.hakkence.com to DNS record so that i can select it in mobile redirect page

You should have that already defined, unless you defined a wildcard but then it shouldnt be proxied.

Post a screenshot of your DNS settings (with IPs redacted) and one of your mobile redirect page with the host selection dropdown box opened.


first mobile view was in www.hakkence.com/app but i wanted a subdomain for Cloudflare so i shited it to app.hakkence.com

The “Name” for that subdomain should be “app”. You have “subdomain.hakkence.zom” set up as a CNAME that points to app.hakkence.com, which doesn’t exist in the first column.

The purpose of a Mobile Redirect is to send mobile users to a mobile version of your site as its own hosted subdomain.

If you don’t have a mobile-specific version of your domain running in a subdomain, you shouldn’t use the Mobile Redirect feature.

If /app is a mobile version of your site, you need to configure your web server to use that directory as a subdomain, though you may run into other problems trying to use a domain subdirectory as its own subdomain.

ohh that was the problem

so instead of “subdomain” i should add “app” right in name segment right that wil solve the problem right?

That’s a start. Call it “app” and have it point to…something. You can’t point it to a subdirectory, but it can point to hakkence.com, but it will show them the same website as desktop users.

so what should i do now so that my mobile user get app version of my site

Set up a subdomain on your server for your mobile app users.

At this point, Cloudflare is working properly for your website. Setting up an app subdomain is beyond the scope of this forum.

i am getting error code : 1004 when i change “subdomain” to “app” …

app"

and subdomain i created for the app is app.hakkence.com for the mobile users.
one more question i have check this image

what is this

You can’t have a CNAME and an A record for the same host name.

Right now, I’m getting a server error because your server isn’t configured for that subdomain.

I doubt that your ealier screenshot was a complete one as “app” already resolved to Cloudflare IP addresses, so there should have been a record that was not on that screenshot.

In addition I asked for a screenshot of the mobile redirect page with the host selection.

1 Like

mobile redirect page screenshot .


should i change app.hakkence.com to something else like ***.hakkence.com?
my sever had said they had configured app.hakkence.com

Sorry, but we are going in circles.

Yesterday I asked a relatively simple question, to post two screenshots showing your settings

Instead of that we got a presumably incomplete screenshot and - now - the same mobile redirect screenshot from before with the list closed and the setting turned off in general.

Judging from your DNS setup you should be able to simply choose “app” as host for your mobile redirect and - obviously - enable the redirect, but currently that is somewhat speculative.

sorry about that.
im not able to understand some of the stuff as im not familiar with this