USe cdn cloudflare but subdomain is not working

Hello i want ask about problem in my subdomain and ftp. Im already attached my configuration for my domain. Main domain and sandbox.a.com is working properly, but why subdomain.a.com and ftp not working. Im waiting from yesterday and check dns checker is all propagation.

Maybe someone can help me, its very strange. Maybe its bug?

im drawed with red color, just sandbox.a.com working, the others not responding. Very strange

As this is cPanel hosting, you may avoid proxying FTP record or much better make habit to use IP under hostname in FileZilla kind of App. Cloudflare open port 80, 443 only. It is not for port 21 FTP case so it doesn’t work in proxied mode.

Hi @sugengcool,

Not a bug, just the fact that suksesselalu.gotravelly.com redirects to www.suksesselalu.gotravelly.com which does not have a DNS record.

If it did, it still wouldn’t work over https due to the level of the subdomain, unless you purchased an advanced certificate.

The Cloudflare universal certificates cover example.com and *.example.com.
This means that it covers any subdomain one level above the domain you signed up with. It will cover www.example.com and subdomain.example.com, as these are one level above the root domain, example.com. The certificate will not cover www.subdomain.example.com or a.b.example.com, however, as these subdomains are too deep.

You can read more about this and the solutions in this community tutorial.

1 Like

but why sandbox.a.com is working? its very strange

thank you

Because that one doesn’t redirect somewhere without a DNS record.

>>> https://sandbox.gotravelly.com/

> --------------------------------------------
> 200 OK
> --------------------------------------------

Status:	200 OK
Code:	200
Date:	Sat, 22 Aug 2020 10:28:17 GMT
Content-Type:	text/html; charset=UTF-8
Connection:	close
Set-Cookie:	ci_session=0912b50db37e2f83471b01c7cbc4e93137614602; expires=Sun, 23-Aug-2020 06:28:17 GMT; Max-Age=72000; path=/; HttpOnly
Expires:	Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control:	no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma:	no-cache
Vary:	Accept-Encoding
CF-Cache-Status:	DYNAMIC
cf-request-id:	04b74f4c6f0000cd8b3b03e200000001
Expect-CT:	max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server:	cloudflare
CF-RAY:	5c6be7f3ddc2cd8b-CDG
1 Like

owh okay thank you, i need to learn first documentation. Thank you