Can I map an external subdomain to a droplet?

Posted August 11, 2017 2.4k views
ApacheLAMP StackDNSUbuntu 16.04

For my work, I’ve been asked to find a new hosting provider, since our current one doesn’t fit the bill for the work we need done. However, we will be maintaining the domain name and some hosting on the old server. So I’m trying to figure out it I can map one or more subdomains from this external service (site5, to be exact) to a digital ocean droplet. The reason for the ‘one or many’ is that for now, there will only be one subdomain pointing to the droplet, but down the line, we might host other services on this droplet that will be pointed at by different subdomains.

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.

Submit an Answer
1 answer

All you have to do is add an A record that points to the droplet and setup a vhost for it and it should be all working.