Question

How can i create and point new Subdomain to Droplet B instead of the main Domain is on Droplet A

  • Posted September 15, 2020
  • DNS

Hello,

I have a Droplet A that host the main domain (domain.com). I want to create a subdomain (test.domain.com) that will point to Droplet B that is different from Droblet A.

I created an A Record for that:

Hostname: test. / value: Droplet B

**PS:

  • When I used the Droplet B IP@ in the URL, that redirect me as well.
  • When I use the subdomain hostname that I already create (A record) that will not redirect me to the Droplet B !!**

Any suggestions for that behavior !!

Thank you!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Any response on that ??!!

Any suggestions !!

Hi @zoompress2009,

You’ll need to update your domain’s DNS to create a subdomain. I can see from your question you’ve done it. Having said that, let me go over it just in case.

To create a subdomain, you need to update your domain’s DNS. This can be achieved from where your Nameservers are. In there create an A record with the name for your subdomain pointing to your Droplet B. If that’s what you’ve done and you are still experiencing the issue, can you paste the domain so that I can do some checks and see what the DNS shows?

Regards, KFSYS