I have multiple subdomains (testA.example.com, testB.example.com, testC.example.com) in one droplet (IP1). I would like to point a new subdomain (testD.example.com) to a new droplet. I have created an A and CNAME pointing to the new droplet (IP2). When I go to the IP2 on browser, everything works fine, when I ping the testD.example.com, I get the IP2 as expected. However, when I go to testD.example.com, “this site can’t be reached”
Here is the domain name settings:
CNAME www.testD.example.com testD.example.com. A testD.example.com IP2 CNAME www.example.com example.com. A example.com IP1 CNAME *.example.com example.com.
Notes: the other subdmonains (testA.example.com, testB.example.com, testC.example.com) are defined in the NGINX configs in IP2. and they are all redirected to HTTPS (I am using Let’sencrypt).
What am I doing wrong?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @makoamena
My guess would be that it’s just browser cache, which is playing a trick. Try restarting your browser - that clears everything up or visit via incognito, but in some cases it doesn’t fix DNS cache issues.
When I go to testD.example.com (before you masked it), I see your domain name written in big letters - and when I visit the the IP address, I see it’s running on Fedora.
So to me, everything looks okay.
I am also having the same problem. is this issue is resolved ? @makoamena
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.