Question
Multiple domains per droplet
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.
×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.
×So just to clarify this, one droplet = one IP address so if you have 20 domains sharing they are sharing the one IP address? Am I interpreting that correct or is there a way of assigning unique IP addresses in the DNS menu item?
That’s correct. If you want to host X domains on a single droplet, they will have to share the same IP address.
Hi! I find this information useful.
But I have a question regarding adding a second domain. Since they both point to the same IP/Droplet. How can I distinguish the two domains ( apps ) ? Better yet, how can I point them to different ports?
Is it as simple as setting the domain’s IP with the PORT number?
Thanks.