Got ERR_NAME_NOT_RESOLVED on droplet Ubuntu Ubuntu 20.04 (LTS) x64

Posted November 19, 2021 77 views

So I deployed a small api with nginx coming together in a docker-compose. The api and the proxy are 2 containers. Then I registered my domain and subdomain with DO. Now I tried to call the api from my angular app (local dev) and got ERRNAMENOT_RESOLVED.

Before adding the subdomain, I was able to connect to the server and call the api using postman. After the subdomain added, I got Error: connect ECONNREFUSED IP_ADDRESS:443.

Please give me a hint.

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
Show answer This answer has been marked as resolved by sergioturpin.