Can I use a droplet so that it can host several web pages?

Posted October 29, 2018 1.1k views
UbuntuApachePHPWordPressGetting StartedLAMP StackDigitalOceanDeploymentLet's EncryptDatabases

Hi, I want to use a droplet so that I can resell it as a shared hosting and host several web pages of my clients, it is advisable to use a droplet for an environment like this:?

Sorry my bad english.

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

You can host several web pages with a single droplet.
You can use Nginx server blocks to host multiple domains off of a single server. Here is Digital Ocean’s tutorial on how to set up Nginx Server blocks.

Please let me know if that helped.

by Justin Ellingwood
When using the Nginx web server, server blocks (similar to the virtual hosts in Apache) can be used to encapsulate configuration details and host more than one domain off of a single server. In this guide, we'll discuss how to configure server blocks in Nginx on an Ubuntu 16.04 server.