By mcloide1977
I have been searching for a while so far I couldn’t find a straight answer.
Can you have multiple domains / subdomains per droplets or you can only have one domain associated per droplet?
If multiple domains are possible are there any references / tutorials that I could follow for directions?
To all helping, thank you in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
I have about 20 domains associated with a single droplet without any trouble. You should see a DNS menu item on the side bar where you can point any number of domains to any droplet you have.
Hi Fábio <br> <br>Thanks for the quick answer. It should be similar to my develop environment where all I need is to associate the domain on the apache config and add a hosts entry that in this case is the DNS menu item. <br> <br>Again thanks for the help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.