I have one Page Rule for my site:
discord.mysite.xyz/
Forwarding URL: (Status Code: 301 - Permanent Redirect, Url: https:// discord.gg/aaaaaa)
In the SSL/TLS settings:
SSL → Full (strict)
Always Use HTTPS → On
HSTS → On, Max-Age: 6 months, Include subdomains: On, Preload: On
Authenticated Origin Pulls → On
Opportunistic Encryption → On
Onion Routing → On
Automatic HTTPS Rewrites → On
Right now:
http:// discord.mysite.xyz → WORKS
https:// discord.mysite.xyz → SITE CANNOT BE REACHED
https://support.cloudflare.com/hc/en-us/articles/218411427
That article says “If omitted, scheme matches both http:// and https:// protocols”, but I also tried specifying https:// and still couldn’t get it to work.
domjh
August 17, 2019, 7:56am
2
Hi @warcrafthalsey ,
Are you able to share the domain name in question, please?
domjh
August 17, 2019, 8:40am
4
For a page rule to work, you need to have a DNS record set to for the domain/subdomain that you want it to trigger for. You can create a record pointing to 192.0.2.1
, a dummy IP address.
In your case, the record name should be ‘discord’.
You can read more about this in our community tutorial .
Thank you! I setup the A record. Once it has had time to resolve, I’ll post an update here and mark yours as the solution.
EDIT: Now working! Thanks again.
1 Like
I’ve done this step and I get a page from Cloudflare that it fails to find the host (host error).
Not sure what else to do!
domjh
August 26, 2019, 3:56pm
7
Hi @rjm2884 ,
can you share the domain name?
system
Closed
August 31, 2019, 7:55am
8
This topic was automatically closed after 14 days. New replies are no longer allowed.