sales@arkayapps.com
+91 932-709-3554
Inquiry Now
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
  • Home
  • Portfolio
  • Products
  • Services
    • Mobile App Development
    • Web Design and Development
    • Digital Ocean Services
  • Blog
  • Get in Touch
Blog
Home Cloud Server How to Host multiple website on One Droplet on Ubuntu Linux 14.04 LTS.
Cloud Server

How to Host multiple website on One Droplet on Ubuntu Linux 14.04 LTS.

Arkay Apps Arkay Apps December 25, 2018 0 Comments

How to set up multiple domains in one droplet Digital Ocean.

Now DigitlOcean cloud server price is just $5 (350 INR) per month it lowest cost server also you can host multiple website on one single droplet. Here Droplet means one Instance. On Digital Ocean you can choose any size on droplet price are depend on RAM and Storage location etc.

Here today topic we try to explain How to host multiple site on one droplet. We are assume that you have already install LAMP (Linux, Apache, MySQL and PHP).

Note:  Before We start. 
If you don’t have a DigitalOcean account yet, first you should sign up to get one. For new users, DigitalOcean offers a free $20 credit. Click on this link to sign up at DigitalOcean to get the $20 credit.

let’s Start Setting up multiple websites on a Digital Ocean single droplet step by step.
 

Step #1 : Plz Check A Record on DigitalOcean DNS

Now Login on server through SSH

Step #2 : Make Directory of domain name:

1
2
sudo mkdir -p /var/www/html/domainname.com/public_html
 

Step #3 : This directory is on root access let’s give permission to current user

1
2
sudo chown -R $USER:$USER /var/www/html/domainname.com/public_html  
 

Step #4 : Change Mode of www folder.

1
2
sudo chmod -R 755 /var/www
 

Step #5 : Create simple index.html file for testing purpose.

1
sudo vi /var/www/html/domainname.com/public_html/index.html

Step #6 : Create new Virtual Host File

1
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/domainname.com.conf

Step #7 : Edit and set Parameter on Virtual Host file

1
sudo vi /etc/apache2/sites-available/domainname.com.conf

Step #8 :add this parameter on VirtualHost

1
2
3
4
    ServerAdmin admin@domainname.com
    ServerName domainname.com
    ServerAlias www.domainname.com
    DocumentRoot /var/www/html/domainname.com/public_html

Step #9 : Enable the New Virtual Host Files

1
sudo a2ensite domainname.com.conf  

Step #10 : Restart Apache server

1
sudo service apache2 restart

Step #11 :Check your on browser

1
Lets ping through browser.


Conclusion

Hosting multiple websites on a single Ubuntu l14.04-its server is that easy. Remember, you can replicate the idea to host unlimited number of virtual hosts.

Cloud Server Digital Ocean web hosting
100
7166 Views
Best Cloud Server for Start Up – Digital Ocean ServerPrevBest Cloud Server for Start Up – Digital Ocean ServerDecember 25, 2018
Thing To Know before present your business online and designing your business websiteMarch 12, 2019Thing To Know before present your business online and  designing your business websiteNext

Related Posts

Cloud Server

Reason to choose Digital Ocean cloud server for your business.

DigitalOcean Cloud server popular in a startup as well as a business because...

Arkay Apps Arkay Apps December 27, 2019
Cloud ServerWordPress

Setup WordPress on DigitalOcean Cloud Server

Digital Ocean is a fastest-growing developer-friendly cloud hosting solution...

Harsh Gor Harsh Gor December 19, 2019
Categories
  • Android 3
  • Cloud Server 5
  • Database 1
  • Digital Marketing 1
  • Education 2
  • Flask 1
  • Graphic Design 1
  • Python 1
  • Ready Mix Concrete ERP Software 1
  • SEO 2
  • Startup Idea 3
  • Version Control 1
  • Web Designing 2
  • Web Development 2
  • WordPress 2
Recent Posts
  • Ready Mix Concrete ERP: Customise Ready Mixed Concrete ERP Software
  • Global Downfall, crises and opportunities in EdTech
  • What Makes a Photo editing app a Desirable One?
  • New Ideas for Educational App Startups that should check out in 2020
  • People & Identity – Conversation notifications new features!
Recent Comments
  • Arkay Apps on GK In Gujarati
  • Arkay Apps on Property Or Real Estate Listing Android App Source Code
  • Arkay Apps on Property Or Real Estate Listing Android App Source Code
  • Darty Mulimaposho on Property Or Real Estate Listing Android App Source Code
  • Arkay Apps on GK In Gujarati
For Work Inquiry
Email: sales@arkayapps.com
India: +91 932-709-3554
For Career Inquiry
Email: career@arkayapps.com
India: +91 932-709-3554
Bhuj
 174, Time Square Empire, SH 42 Mirjapar Highway, Bhuj, Gujarat 370001
Email: info@arkayapps.com
Phone: +91 932-709-3554
Bengaluru
No.3, Silver Palms, Palmgrove Rd, Victoria Layout, Bengaluru, Karnataka - 560047
Email: info@arkayapps.com
Phone: ‭+91 804-377-9545‬
U.S.A
20128 Bar Garbor Terrace
Ashburn
VA 20147, USA
Email: info@arkayapps.com
Privacy Policy | Kids App Privacy Policy | Disclaimer

Copyright © 2020 by Arkay Apps. All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. By continuing the site you are agreeing to cookies. Privacy policyOkay