I created a Droplet which I can access using the IP. I also create a domain name for the droplet
test.mydomain.com. Digital Ocean added 3 NS entries, and I added another A entry sending
test.mydomain.com to the droplet IP. Then I logged in to my registrar and added a CNAME sending
I’ve waited a few hours for propagation but still the browser can’t load the page. If I do
dig on the command line I see it resolving to the nameserver but not the actual droplet IP. Not sure if this is incorrect or how it should be.
How do I get the DNS entry to load the Droplet hosted app in the browser ?
I don’t want to hardcode the Droplet IP in my registrar as an A record in case it changes in the future.
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.