I need to redirect my subdomain to https

What is the name of the domain?

xmpl.com

What is the issue you’re encountering

I need to redirect my subdomain to https

What steps have you taken to resolve the issue?

I tried to redirect it from .htaccess but still it wont redirect. i was told i can do it with redirect rules in cloudflare but i’m new to cloudflare and i need someone to guide me what i need to do to add the rule.

for example i want to redirect http://store.xmple.com to https://store.xmple.com

May I ask if this is only sub-domain using Cloudflare and a partial setup? :thinking:

Currently using maria and elliot Cloudflare nameservers for store.xmple.com.

You’d need to add an A type of the DNS record at least and point it to your web hosting server :thinking:

Enabling Always use HTTPS feature would help in your case if DNS record is proxied :orange:

Recommended to use in a combination with Automatic HTTPS Rewrites as well:

Furthermore, using instructions from below article:

You can use example below as well in your case to redirect HTTP to HTTPS for your sub-domain:

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