A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Scalable compute services.
Simple object storage.
Tools & Integrations
Automate your infrastructure.
Connect, share and learn
DevOps and development guides
Questions & Answers
Development and systems Q&A
by Hazel Virdó
How to point multiple sub domain to one droplet?...
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
Add add the sub domain to your DNS Zonefile and point it to your droplets IP. You will need to configure your webserver or service accordingly to properly route the sub domain to the intended destination.
Is it possible in one droplet there are *3 applications *and each subdomain is pointed to each different application?
name.site.com --> point to droplet A in app-1
nami.site.com -->point to droplet A in app-2
namo.site.com -->point to droplet A in App-3
You can have any number off apps independently running within one droplet *
(resources permitting or course).
Depending on your applications you may need to configure a reverse proxy.
This is a good start using NGINX - https://www.digitalocean.com/community/tutorials/understanding-nginx-http-proxying-load-balancing-buffering-and-caching
... or you could use something like docker.