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

Posted March 6, 2018 3.5k views
DNSUbuntu 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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