Still showing 502 Bad Gateway after nameserver updates with GoDaddy and DNS record.

March 6, 2018 1.4k views
DNS Ubuntu 16.04


I'm hoping the community can help in my understanding of updating nameservers and creating a DNS record.
I have opened a ticket and emailed Digital Ocean two and a half days ago now and haven't had a response..

I followed DO's guide on changing nameservers at GoDaddy. I have contacted GoDaddy yesterday to confirm that the following nameservers have been updated with them:

This was done on the 2nd, Friday evening.

I have created the following DNS records:
CNAME is an alias of


However my domain still shows 502 Bad Gateway. Typing in the IP address works fine.

I've done a bit of reading and it sounds like it can take up to 48 hours for the nameservers to propagate. However it is coming up to 4 days now and still no change.

Is it normal to take 4+ days for this to take effect? I am new to this so perhaps I'm being a bit impatient.
Any help in further understanding this process will be greatly appreciated.

Thanks in advance!

1 comment
1 Answer

This question was answered by @DanJRA:

The problem was related to the file.

For anyone experiencing the same issue this thread helped me:

View the original comment

Have another answer? Share your knowledge.