Use non www in a subdomain

hi, i have a website.

https://foro.rmesystems.com

I want to redirect to non www because I have a universal certificate.

How do I do that? Thank you

That’s already a non-www subdomain, and it works.

1 Like

yes, but if someone writes: https://www.foro.rmesystems.com
I want you to direct it to the site without www

You will run into this issue:

2 Likes

yes, that’s why I want to redirect you to

https://foro.rmesystems.com

so you don’t have the problem

If you want to have such a multi-level subdomain on Cloudflare you would need to use an ACM certificate. If you are on a Business or Enterprise plan you could also use a Custom Certificate.

It is very unlikely that anybody will ever accidentally type in the extra www, so it is unlikely to be a problem. (Try and visit https://www.community.cloudflare.com to see how Cloudflare solve this problem on their own domains.)

1 Like

Which option did you choose? ACM, or DNS Only?

How can I do the same as cloudflare? for the www

I take it you didn’t click his link to see how Cloudflare handles www on a subdomain.

If a user types in https://www.foro.rmesystems.com there’s nothing you can do unless you have a valid certificate which matches that hostname on Cloudflare’s edge. If they typed in http://www.foro.rmesystems.com (the non-SSL version of the URL) you could create a page rule to redirect them from www to foro. But when SSL is involved a page rule can’t/won’t function because it’s not possible to complete a handshake to tell it to go somewhere else.

In general users tend to recognize that not everything starts with www, but if that’s an important domain/ zone and you really need the redirection then you can purchase a certificate to cover that hostname.

3 Likes

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