Problem with subdomain record


#1

Hello,

I added an A record to point my subdomain to an IP address with Digital Ocean, but tell now it not works, it always gives me the following message:

Error 502 Ray ID: 427bd468b85bb7cb • 2018-06-08 13:50:49 UTC
Bad gateway

Thanks for your help


#2

That sounds like your Droplet ins’t responding to the request. Does it work if you set that DNS entry to :grey:?


#3

Not at all, it works only through the IP address. If the problem from Digital Ocean, it that possible to resolve it from DO control screen? they have DNS control, but I don’t know if this will help


#4

No, this has to be done from your droplet. Whatever web server you’re running needs to know which (sub)domain it’s responding to.


#5

This topic was automatically closed after 14 days. New replies are no longer allowed.