How to create multiple websites on one server

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ •

  • @hermesonfg
    @hermesonfg Рік тому +1

    Great Great Great as usual!!! thanks!! I have been trying to create subdomains but always having problems, so after yout video at least I can have different www in sabe server.

  • @baruchben-david4196
    @baruchben-david4196 7 місяців тому +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...

  • @faruksardar8829
    @faruksardar8829 Рік тому

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

  • @shady2388
    @shady2388 2 роки тому

    This is a great work Thanks for your effort

    • @NETVN82
      @NETVN82  2 роки тому +1

      Thanks for watching!

  • @r.robbi.s3319
    @r.robbi.s3319 2 роки тому +2

    Next video pls make aapanel and nextcloud in a server

  • @anderskarlsson3719
    @anderskarlsson3719 5 місяців тому

    Thanks from Sweden :D

  • @salmonbokinala9952
    @salmonbokinala9952 2 роки тому

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

  • @hornchamroeun6064
    @hornchamroeun6064 2 роки тому

    This channel very interesting !!

    • @NETVN82
      @NETVN82  2 роки тому

      Glad you think so!

  • @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

  • @anveshreddy2150
    @anveshreddy2150 2 роки тому +1

    I think reverse proxy is the best way to do it

  • @karsinds
    @karsinds 2 роки тому +1

    Microsoft is a strong buy, point.

  • @tarayera17
    @tarayera17 2 роки тому

    wooow super dupper smart!

  • @pataslocas4595
    @pataslocas4595 2 роки тому

    Thanks you so much!!!.

    • @NETVN82
      @NETVN82  2 роки тому +1

      You're welcome!

  • @ChiquiSistemas
    @ChiquiSistemas 8 місяців тому

    Great video.
    can you share the notepad?

  • @iSeven77
    @iSeven77 2 роки тому +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

  • @khanhvan1124
    @khanhvan1124 2 роки тому +1

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

  • @BaseeraEngineeringSdnBhd
    @BaseeraEngineeringSdnBhd Рік тому

    great works bro

  • @amankhan-uc7jm
    @amankhan-uc7jm 2 роки тому

    Great 👍

    • @NETVN82
      @NETVN82  2 роки тому

      Thank you! Cheers!

  • @grandprime7397
    @grandprime7397 2 роки тому +1

    🔥🔥🔥

  • @prahaladupadhyay
    @prahaladupadhyay 2 роки тому

    Super

  • @pareshsojitra
    @pareshsojitra 9 місяців тому

    Can i have note file please. Thanks.

  • @Topper1980
    @Topper1980 2 роки тому

    Great, txt link please)