Subdomain WordPress Hosting & Error 502

Our main domain is registered in name.com and hosted in azure and it’s working in cloudflare just fine (Cloudfare name servers updated in name.com)

We have a subdomain as a wordpress hosting in name.com. We tried to add a DNS record in cloudflare to point to the wordpress hosting ip directly but we get error 502 bad gateway.

We need your help. What do we need to do?

Just for the record, We did all common troubleshooting practices before posting but it didn’t work unfortunately. Does it require more than 24 hrs to be propagated?

Probably not. If you toggle the :orange: for that subdomain to :grey: (then wait five minutes for DNS), does the site work with HTTPS?

It works with HTTPS.

after the toggle, when I click https://concierge.madraj.co/ it shows a website I never know although the IP is the same IP from name.com

with http://concierge.madraj.co/, different message!

No, it does not.

1 Like

Thanks. I answered you from what I see in the browser. What should I do?

Ask your host to configure that subdomain for HTTPS.

@sdayman What about if the name servers in name.com cloudflare name servers not name.com. Is that OK?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.