Subdomain not working (With different server) -Showing Web server is down

I added a site to Cloudflare and added a subdomain. The main domain is working fine, but a subdomain is hosted at other server is not working.

So for that subdomain, I added an A record pointing to the IP address of that particular server.
Cloudflare is returning Error 521, Web server is down while the server is working fine.

I used that subdomain, I added an A record pointing to the IP address of that particular server from another cloudflare account and its working.

Any help regarding same will be appreciated.

If you set that DNS entry to :grey: and give it five minutes to propagate, does it work?

@sdayman your solution works but for http… url with the https is still not working…

What to do so that i can access subdomain with ssl like main domain is working

You need to get your host to configure your subdomain to work with SSL.

i think so