How To Set Up Multiple WordPress Sites on a Digitalocean

Subscribe our YouTube Channel    

Note: यह आर्टिकल सिर्फ और सिर्फ वीडियो के उंदर उसे किये गए कमांड का है ,अगर आपको सीखना है की किस तरह से एक से अधिक वेबसाइट सेटअप करे तो आपको उपरका वीडियो देखना जरुरी है.

sudo apt-get update

sudo apt-get install apache2

sudo mkdir -p /var/www/

sudo chown -R $USER:$USER /var/www/

sudo chmod -R 755 /var/www

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

sudo nano /etc/apache2/sites-available/

<VirtualHost *:80>
    DocumentRoot /var/www/
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

sudo a2ensite

sudo service apache2 restart
Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

Bharat Makwana is a Founder & Owner of Veewom. He is Content creator and Web Developer from past three years. He loves to read and get in touch with the latest technology, he also have YouTube Channel BMTechTips ,for more info contact -

You may also like this!