ramilh
July 5, 2022, 7:01am
#1
I have an issue when I created a new subdomain with aws endpoint. Please help me
fritex
July 5, 2022, 10:07pm
#2
Greetings,
Thank you for asking.
May I ask what level is the sub-domain, if the sub-domain is like sub.domain.com
or rather like www.sub.domain.com
?
Before adding a DNS hostname to the DNS tab of Cloudflare dashboard for your domain name, was the particular sub-domain working over HTTPS connection and have had provisioned a valid SSL certificate?
May I ask what SSL option have you got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?
This tutorial covers getting SSL working with Cloudflare in various different scenarios.
This assumes you already have your website set up on Cloudflare with all your DNS records set to , if not - please visit Step 1 .
Do you want the website to use HTTPS?
Yes Do you already have a valid SSL certificate installed on your server (i.e. does it already load over HTTPS with a )?
Yes
If your website already works over HTTPS, you can just set your SSL mode in Cloudflare to Full (strict)…
Regarding SSL issues with sub-domains:
Please note, this tutorial post contains links to external sites. I am not endorsing any external links.
This tutorial post covers the first steps you should take if SSL is working on your main domain, but not on a subdomain.
1. Is there a DNS record for it?
Check the DNS app in your Cloudflare dashboard to see if there is a DNS record there for that subdomain.
2. Check that the DNS record is working correctly
You can use a tool such as https://dnschecker.org , enter the subdomain.domain.com …
Regarding Cloudflare 522 error, may I suggest you to look into below article to troubleshoot the issue (if already not yet):
Error
Try the suggestions in this Community Tip to help you fix Error 522 “ERR CONNECTION TIMED OUT” in Google Chrome or “The connection has timed out” in Firefox.
Background
A 522 error happens when a TCP connection to the web server could not be established. This typically happens when Cloudflare requests to the origin (your webserver) get blocked. When this happens, you’ll see “ERR_CONNECTION_TIMED_OUT”.
[PRO UP SELL]
Quick Fix Ideas
Make sure that you’re not blocking Cloudflare IPs i…
ramilh
July 6, 2022, 11:41am
#3
Thank you for your prompt response, but the issue has been resolved already. It’s my mistake I didn’t set up the custom domain, now it’s all ok.
1 Like
system
closed
July 9, 2022, 11:42am
#4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.