Guys, I have a problem here and I can’t solve it.
I need to redirect the link www.teste.dominio.com to teste.dominio.com
How do I do it here for CloudFlare?
How can I do it through htaccess?
I tried to use the rule and it didn’t work:
RewriteCond Host: (?: Www .)? Subdomain \ .your domain \ .com \ .br
RewriteRule (.*) / Directory $1 [I, L]
Some help?
sdayman
December 15, 2021, 2:52am
#2
A Page Rule would do this, but there’s a caveat below.
Match: www.teste.dominio.com/*
Setting: Forwarding URL (301) to https://teste.dominio.com/$1
The problem is that the SSL/TLS certificate Cloudflare provides does not cover www in front of a subdomain:
This tutorial covers a possible reason for the SSL_ERROR_NO_CYPHER_OVERLAP and ERR_SSL_VERSION_OR_CIPHER_MISMATCH errors (Firefox and Chrome respectively) when seen on a subdomain.
The Cloudflare universal certificates cover example.com and *.example.com. This means that it covers any subdomain one level below the domain you signed up with.
It will cover www.example.com and subdomain.example.com, as these are one level below the root domain, example.com.
The certificate will not cover www.sub…
Cloudflare doesn’t use Apache, so that’s beyond the scope of the Community forum. It’s best to try a forum such as serverfault.com
1 Like
This tutorial covers a possible reason for the SSL_ERROR_NO_CYPHER_OVERLAP and ERR_SSL_VERSION_OR_CIPHER_MISMATCH errors (Firefox and Chrome respectively) when seen on a subdomain. The Cloudflare universal certificates cover example.com and *.example.com. This means that it covers any subdomain one level below the domain you signed up with. It will cover www.example.com and subdomain.example.com , as these are one level below the root domain, example.com . The certificate will not cover www.sub
Do I need to have this certificate on www.sub.dominio.com.br?
I will not use the www subdomain.
My problem is that I created a document in PDF format and ended up putting up the wrong site. I’m looking for a solution to open on the correct website. I accidentally put www where it wasn’t supposed to.
sdayman
December 15, 2021, 3:05am
#4
Yes.
You will have to, just to do the redirect.
1 Like
Thank you very much. I understood.
1 Like
system
closed
December 18, 2021, 3:07am
#6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.