By zalo250
I have 3 different domains and I want to host them in the same droplet. Any idea how can I do it? My idea is create a droplet with 16.04.1 x64 but then I have not idea what I have to do. Any suggestion? thanks.
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!
I recommend using nginx instead of apache as it uses less memory. Does your websites use mysql??? Is yes the go for LEMP. Send me a message if you need help.
That depends on web server you are using. To host anything you will need to have web server. You can chose between Apache or Nginx.
How to install LAMP stack will get you covered for Apache (and PHP/MySQL). There is also How to install LEMP stack. Only difference between LAMP and LEMP is that LAMP is based on Apache Web server and LEMP is based on Nginx (Engine-X) Web server. Also you can use One-Click Apps, which you can learn more about it - here. Keep in mind, you chose only LAMP OR only LEMP
To setup multiple sites you will also have to setup virtual host (or also called server blocks on Nginx). To setup Virtual Hosts on Apache - follow this tutorial. If you decided to use Nginx, you must follow How To Set Up Server Blocks on Nginx.
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.