Question

Can I using multiple domain on one droplet

Hello !

I am creating websites for my customers and I was using some hosting services online for their websites but I want to make some changes and taking control on my hands thats why I found digitalocean. I always prefer cheap ways to build somethings -like you maybe-

I want to create one droplet and pay for it each month but I wondering if I could set one more domains? for example I would have one droplet called “customerwebsites” and I would create directorys like customer1 customer2 then upload my script/themes on that directories but is it possible to using customer1.com domain for customer1 and customer2.com for customer2?

PS: Ofc I know I will have some borders like bandwith and traffic

Thanks in advice

Subscribe
Share

This comment has been deleted


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Control panels like ServerPilot let you run multiple sites on a droplet. You could also run each of your customers’ sites under a separate system user so they’d have their own SFTP access.

Your real borders are going to be ram and hard-drive space. You are able to host as many domains as you’d like and are able to configure but your system resources are going to be your boundaries.

Hello there,

You can host multiple sites (domain names) on a single droplet, this can be achieved using virtual hosts.

The process is really simple, all you need to do is to spin up the droplet via the app marketplace and then manually add the virtual hosts for the other sites.

We have an article that covers the process, which you check here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04

For Nginx you can check this article:

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

Hope that this helps! Regards, Alex

Thank you I am going to try ServerPilot for my droplet. Regards