How to map my subdomain from digitalocean to another host provider ?

March 14, 2018 66 views
DigitalOcean DNS Ubuntu 16.04

We've our DNS to DO and we want to host a subdomain in our country on a different host service provider.
How can we set it up?


1 Answer

As an example, if your domain is example.org and you want to point the subdomain new to a server with a different host provider you would:

1.) In the DO control panel, go to Networking->DNS and select your domain
2.) Create a new A record. For the name you would put new (the new subdomain without the rest of the domain) and in the other field you would enter the IP address of the server with your other hosting provider.

Once this is done www.example.org and example.org should be unchanged but new.example.org will now load the content from the other host.

Have another answer? Share your knowledge.