Easily configure a performant, secure, and stable NGINX server.Learn More
Pointing subdomain to another droplet
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:
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?