Install Apache Web Server. Gonfigure Virtual Host. Get SSL/TLS Certificate.

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024
  • Install apache web server, and configure virtual host to serve multiple websites on the same server. Get FREE ssl /tls certificates for each website using python3-certbot-apache plugin.
    🔔 SUBSCRIBE: If you find my videos helpful, you can support me by subscribing and leaving a comment. / @techtute
    Timeline
    00:45 Install Apache Web Server
    01:20 Open Port 80 443 in iptables
    02:20 Make webroot and index.html for your web site
    02:50 Create virtual host to listen port 80
    03:40 Create DNS record in Namecheap
    04:54 Install and run python3-certbot-apache plugin (Will setup ssl and ssl redirect)
    06:25 Set up second website on apache
    08:50 Get SSL certificate for the second website
    09:30 SSL certs auto renewal
  • НаукаНаука

Комментарии •

  • @sergiyrudenko905
    @sergiyrudenko905 Год назад +2

    Thank you, Angel! Your lessons are amazing!

  • @marcelomnzs
    @marcelomnzs Год назад +2

    WOWWWWWW fucking amazing bro!! very useful

    • @TechTute
      @TechTute  Год назад +1

      I am glad you found it useful!

  • @anarpearls9785
    @anarpearls9785 11 месяцев назад +1

    In the beginning 443 was added for https traffic but after obtaining letsencrypt certificate, 443 was not included in virtual host configuration file. How does this work? Why we continue to use 80 eventhough using ssl cert

    • @TechTute
      @TechTute  11 месяцев назад

      certbot apache plug-in automatically creates a second vhost that listens on 443 based on the original vhost that listens on port 80.

    • @anarpearls9785
      @anarpearls9785 11 месяцев назад +1

      @TechTute interesting; is that in the same directory sites-available ? Thank you for thr response

    • @TechTute
      @TechTute  11 месяцев назад

      Yes the vhost for 443 will be placed in /etc/apache2/sites-available and a symlink to it should be in /etc/apache2/sites-enabled