Question
Point a Subdomain of the main domain to a secondary droplet
Hi there,
I have to droplets:
dataforgood.co (95.85.51.69)
prep.dataforgood.co (146.185.189.143)
and I have a domain “dataforgood.co” which is managed by digital ocean’s DNS to resolve the domain name to the main drolet dataforgood.co. its working fine.
BUT, I don’ know how to configure the DNS to point the subdomain “prep.dataforgood.co” to the droplet “prep.dataforgood.co” with IP: 146.185.189.143
I created an A record “prep.dataforgood.co -> 146.185.189.143” and a CNAME record “prep -> prep.dataforgood.co” but no results.
the server nevertheless is reachable by IP directly in the browser, so the web server is responding.
it’s a DNS issue or I am missing some configuration in my droplet (maybe BIND?) ?
Thanks a lot for your help,
Vicens.
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.
×