How to redirect subdomain traffic to Https

Hi,
I have a website deployed on my AWS EC2 server and the main website(server.com) is added on Cloudflare, I have created a DNS record for aws ALB, like

test.server.com to test.server.elb.amazonaws.com.
I want to redirect all traffic from test.server.com to https://test.server.com. how can I do that? I have seen it under Edge Certificates but it is for the main site. not seeing for subdomain configuration.
Is there a way to do that?

Heyy there.

You can specify SSL encryption mode for subdomains using configuration rules.

Choosing FULL/FULL (STRICT) will instruct Cloudflare to make the request to your server using HTTPS.

1 Like

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