Need help regarding SSL Redirect Errors

I have my discourse installed at nammavtu.in and I would like to redirect forum.nammavtu.in to nammavtu.in. I have added a CNAME in Cloudflare DNS, I’m using Cloudflare to manage my DNS, no CDN, but I’m getting an SSL certificate error when I visit forum.nammavtu.in. Can I fix this somehow?

Thanks.

1 Like

Enable Cloudflare proxy (orange cloud) for forum.nammavtu.in and then create a page rule in cloudflare to redirect forum.nammavtu.in to nammavtu.in with 301 status.

5 Likes

Enabling Cloudflare proxy for CNAME records solved it, there was no need to use page rules, I don’t know how it’s working, but it’s working, thank you.

1 Like

You need page rules to make sure that cloudflare always sends requests to correct location. I’ve seen cases where people suffer issues later if proper rules are not configured but Your mileage may vary.

4 Likes

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