Can route to subdomain but not root domain

Returning error 502. Can you check the SSL certificate on your origin hasn’t expired? (I am getting this too for some of the subdomains, is this site public or just for you?)