How to create multiple websites on one server

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 30

  • @baruchben-david4196
    @baruchben-david4196 5 หลายเดือนก่อน +1

    I know there are many reasons why you might use a generated voice, but it would help make things clearer if you could adjust the text to help the voice. For example, it tried to pronounce 'mysql' as written. It would have been clearer if you did something like: 'My S-Q-L'. Stuff like that. It's a bit tricky to understand this voice.

  • @sureshjyo777
    @sureshjyo777 ปีที่แล้ว

    Hi...
    Thank you for your best tutorials...
    You a great knowledge in this... I learnt many regarding nextcloud and websites installing on ubuntu server....
    But: with this two websites + also how to install nextcloud server... Please make a video on this...
    Thank you for your hard work...

  • @r.robbi.s3319
    @r.robbi.s3319 2 ปีที่แล้ว +2

    Next video pls make aapanel and nextcloud in a server

  • @faruksardar8829
    @faruksardar8829 ปีที่แล้ว

    On both the domain DNS we need to use same ip address?

  • @karsinds
    @karsinds 2 ปีที่แล้ว +1

    Microsoft is a strong buy, point.

  • @anveshreddy2150
    @anveshreddy2150 2 ปีที่แล้ว +1

    I think reverse proxy is the best way to do it

  • @anderskarlsson3719
    @anderskarlsson3719 3 หลายเดือนก่อน

    Thanks from Sweden :D

  • @shady2388
    @shady2388 2 ปีที่แล้ว

    This is a great work Thanks for your effort

    • @NETVN82
      @NETVN82  2 ปีที่แล้ว +1

      Thanks for watching!

  • @ChiquiSistemas
    @ChiquiSistemas 6 หลายเดือนก่อน

    Great video.
    can you share the notepad?

  • @tarayera17
    @tarayera17 ปีที่แล้ว

    wooow super dupper smart!

  • @salmonbokinala9952
    @salmonbokinala9952 2 ปีที่แล้ว

    Hi how ru bro I need ur help bro for wifi tracking means

  • @khanhvan1124
    @khanhvan1124 2 ปีที่แล้ว +1

    Hướng dẫn cài từ đầu ubuntu server đi ạ

  • @oussamazaoui805
    @oussamazaoui805 2 ปีที่แล้ว +1

    Great, Can you share with us the link of txt file contain cmds please

    • @NETVN82
      @NETVN82  2 ปีที่แล้ว +2

      1. Install Apache
      sudo apt update && sudo apt upgrade -y
      sudo apt install apache2 -y
      2. Install PHP
      sudo apt install php libapache2-mod-php php-mysql -y
      3. Site1
      3.1 Install Database
      sudo apt install mysql-server -y
      sudo mysql_secure_installation
      sudo mysql -u root -p
      CREATE DATABASE wpdb DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
      CREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'password';
      GRANT ALL ON wpdb.* TO 'wpuser'@'localhost';
      3.2 WordPress
      cd /var/www
      sudo mkdir site1
      cd site1
      sudo wget wordpress.org/latest.tar.gz
      sudo tar xzf latest.tar.gz
      sudo mv wordpress/* .
      sudo chown -R www-data: .
      3.3 Apache configuration
      cd /etc/apache2/sites-available/
      sudo cp 000-default.conf site1.conf
      sudo nano site1.conf
      ServerName netvnsite1.tk
      ServerAlias www.netvn.site1.tk
      DocumentRoot /var/www/site1
      sudo a2ensite site1.conf
      sudo a2dissite 000-default.conf
      sudo systemctl reload apache2
      4. Site2
      4.1 Install Database
      sudo mysql -u root -p
      CREATE DATABASE wpdb2 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
      CREATE USER 'wpuser2'@'localhost' IDENTIFIED BY 'password2';
      GRANT ALL ON wpdb2.* TO 'wpuser2'@'localhost';
      4.2 WordPress
      cd /var/www
      sudo mkdir site2
      cd site2
      sudo wget wordpress.org/latest.tar.gz
      sudo tar xzf latest.tar.gz
      sudo mv wordpress/* .
      sudo chown -R www-data: .
      4.3 Apache configuration
      cd /etc/apache2/sites-available/
      sudo cp 000-default.conf site2.conf
      sudo nano site2.conf
      ServerName netvnsite2.tk
      ServerAlias www.netvnsite2.tk
      DocumentRoot /var/www/site2
      sudo a2ensite site2.conf
      sudo systemctl reload apache2
      5. Port Forwarding
      80,443
      6. HTTPS
      sudo apt install python3-certbot-apache -y
      sudo certbot --apache -d -d

  • @grandprime7397
    @grandprime7397 2 ปีที่แล้ว +1

    🔥🔥🔥

  • @hornchamroeun6064
    @hornchamroeun6064 2 ปีที่แล้ว

    This channel very interesting !!

    • @NETVN82
      @NETVN82  2 ปีที่แล้ว

      Glad you think so!

  • @BaseeraEngineeringSdnBhd
    @BaseeraEngineeringSdnBhd ปีที่แล้ว

    great works bro

    • @NETVN82
      @NETVN82  ปีที่แล้ว

      Thanks 🔥

  • @pareshsojitra
    @pareshsojitra 7 หลายเดือนก่อน

    Can i have note file please. Thanks.

  • @pataslocas4595
    @pataslocas4595 2 ปีที่แล้ว

    Thanks you so much!!!.

    • @NETVN82
      @NETVN82  2 ปีที่แล้ว +1

      You're welcome!

  • @amankhan-uc7jm
    @amankhan-uc7jm 2 ปีที่แล้ว

    Great 👍

    • @NETVN82
      @NETVN82  2 ปีที่แล้ว

      Thank you! Cheers!

  • @prahaladupadhyay
    @prahaladupadhyay 2 ปีที่แล้ว

    Super

    • @NETVN82
      @NETVN82  2 ปีที่แล้ว

      Thanks

  • @iSeven77
    @iSeven77 ปีที่แล้ว +1

    THANK YOU so much for sharing all this info!
    Just one this I tried this today 11/29/2022 and in after step 3.1 sudo apt install mysql -server -y when I did the step sudo mysql_secure_installation i get an error :
    ... Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters.
    but I found out in another video from : Abstract programmer
    @abstractprogrammer3471 - How to install phpadmin...
    that you have to do sudo mysql then the password and when you are in mysql> you type this: alter user 'root'@'localhost' indentified with mysql_native_password by 'mypassword''; where 'mypassword' is the password you are going to use after you get out from 'mysql>' prompt with exit
    then instead of typing sudo mysql_secure_installation just type mysql_secure_installation then use the 'mypassword' and you then dont get the ERROR !
    I hope this helps someone . Thanks Again for all the knowledge you share with the new linux users , we are noobs lol

  • @Topper1980
    @Topper1980 2 ปีที่แล้ว

    Great, txt link please)

    • @NETVN82
      @NETVN82  2 ปีที่แล้ว

      Thanks