How to deploy multiple websites in a single Nginx server | Virtual Host

Поделиться
HTML-код
  • Опубликовано: 21 янв 2023
  • This video explains the simple steps to deploy multiple web applications in a single server using Virtual host.
    #nginx #virtualhost #webhosting #coderinboots

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

  • @rafaelcamposerrano9311
    @rafaelcamposerrano9311 Год назад +7

    Very usefull, just what i need.

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

      Happy to hear that my video is helpful. Subscribe to this channel for more interesting and useful videos.

  • @mishaelmartinez8689
    @mishaelmartinez8689 11 месяцев назад +10

    You did a hell of a job explaining this. Good work

  • @abulaith4485
    @abulaith4485 5 месяцев назад +3

    The difference between your video and others, is your video shows how it is done in the industry while the others just explain the theory and show how nginx works.
    Thank you for your help. Great Video.

  • @neonmuzik8979
    @neonmuzik8979 7 месяцев назад +2

    I was struggling for days, Until I reach out to this video for enlightenment, thanks Sir!

  • @basavalingam
    @basavalingam 11 месяцев назад +4

    Very well explained. It is very useful for beginners...

  • @yourlinuxguy
    @yourlinuxguy 10 месяцев назад +1

    Best clean tutorial with complete steps.

  • @adityapanwar1220
    @adityapanwar1220 6 месяцев назад +1

    Amazing, i really like these kind of explanations, that's what my secret to remain in the tech industry. Thank You 😊

  • @jreedmx40
    @jreedmx40 8 месяцев назад +2

    Thank you very much. You helped me understand how to proceed.

  • @badboi3123
    @badboi3123 7 месяцев назад +3

    It was totally understandable video thank you for helping us all

  • @nischalkarn3714
    @nischalkarn3714 2 месяца назад +1

    Just Amazing, Loved it 😍👌👌

  • @sreekanthsreenivas401
    @sreekanthsreenivas401 8 месяцев назад +2

    this was very helpful. Thank you

  • @andriibibik39
    @andriibibik39 10 месяцев назад

    Top video about this topic!

  • @flipsidedev
    @flipsidedev 9 месяцев назад

    Thank you! This helped me a lot.

  • @031_nazmul_huda7
    @031_nazmul_huda7 10 месяцев назад

    awesome turorial, thanks for your great work

  • @keinermendoza4631
    @keinermendoza4631 7 месяцев назад

    Bro, This is liquid gold.

  • @harshchandra7446
    @harshchandra7446 Год назад

    This video is very help full for me.

  • @maheshnarayankar6515
    @maheshnarayankar6515 4 месяца назад +1

    very detailed video thank you so much

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

    very good , I think you should make more on devops real time world

  • @alvinnlus
    @alvinnlus 9 месяцев назад

    Great job!

  • @karolispulokas1364
    @karolispulokas1364 8 месяцев назад

    Fascinating tutorial. Thank you loads

    • @coderinboots
      @coderinboots  8 месяцев назад

      Thank you for the feedback. Glad that the video is useful.

  • @sneaksneak6522
    @sneaksneak6522 9 месяцев назад

    Awesome vid thank you

  • @hubertharris6874
    @hubertharris6874 5 месяцев назад

    Very Good Tutorial

  • @redradar3366
    @redradar3366 9 месяцев назад

    Excellent! Thank you

    • @user-pc1pm1vb7p
      @user-pc1pm1vb7p 9 месяцев назад

      site A and site B pointing to same ip what does this means ?? can u explain this

  • @DHARRSAN_7
    @DHARRSAN_7 8 месяцев назад

    awesome !!

  • @abdurrazzak1612
    @abdurrazzak1612 4 месяца назад

    Very good tutorial

  • @katlegophele8909
    @katlegophele8909 Год назад

    Brilliant

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

    Hello, I have searched and searched RUclips for a tutorial on how to host multiple websites, some BIG youtubers has content about how it is done but your content is perfect, I love it. Can you do a tutorial on Ansible??

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

      Sure. I will plan this in my upcoming topics

  • @easydezeindiankichen4909
    @easydezeindiankichen4909 Год назад

    Brother perfect explanation.. can you help on adding WordPress and also docker setup ..

    • @coderinboots
      @coderinboots  Год назад

      I will prepare a video on the deployment of wordpress on a linux machine. Please let me know the docker set up that you are looking for.

  • @techtravelspot2402
    @techtravelspot2402 Год назад

    It was awesome, But please need the video for the renewal part through the cron job.

    • @coderinboots
      @coderinboots  Год назад

      I will add the video of cert renewal using cronjob soon.

    • @coderinboots
      @coderinboots  Год назад

      certbot -q renew --nginx
      Add this to the cronjob. The certbot will renew the certificates automatically.

  • @RohitKumarc
    @RohitKumarc Год назад

    super

  • @-yaoshmite-1581
    @-yaoshmite-1581 10 месяцев назад

    Great video explanation!! If you can get a better microphone I bet your videos will get a lot more views

    • @coderinboots
      @coderinboots  10 месяцев назад

      Thank you for the feedback. I will get a better microphone and improve the quality.

  • @lucifer3646
    @lucifer3646 9 месяцев назад

    Brother, loved your video... no one creates well described videos like this nowadays and finding guys like you is rare

    • @coderinboots
      @coderinboots  9 месяцев назад

      Thank you for the feedback. Glad that the content is useful. Considering the RAM and cores in your server, you can directly run the app on the server and expose the endpoints through nginx proxies and virtual hosts. Let me know if you want more details on this.

    • @lucifer3646
      @lucifer3646 9 месяцев назад

      @@coderinboots Thanks a ton buddy

    • @coderinboots
      @coderinboots  9 месяцев назад

      @@lucifer3646 - I am on Instagram. You can also reach out to me via email also. coderinboots@gmail.com

    • @user-pc1pm1vb7p
      @user-pc1pm1vb7p 9 месяцев назад +1

      site A and site B pointing to same ip what does this means ?? can u explain this . is it like if only from thoes ip if site A hit then only content will be served ???

    • @lucifer3646
      @lucifer3646 9 месяцев назад

      @@user-pc1pm1vb7p when you use nginx as a virtual host, you are basically telling nginx to route the requests that are received by it to the corresponding sites based on the domain name. Also, yeah since the request are received by nginx only single IP is used

  • @GowriAyyanar-el3fn
    @GowriAyyanar-el3fn Месяц назад +1

    host a multiple docker containers in nginx ,here nginx is a reverse proxy .could you please make a vidoe?

    • @coderinboots
      @coderinboots  Месяц назад

      Could you please elaborate on the topic in detail.

  • @user-pc1pm1vb7p
    @user-pc1pm1vb7p 9 месяцев назад

    can u make more videos on nginx .... like allowing certiain ips and denying certain ip and more of complex thing !!! thanks for great video

    • @coderinboots
      @coderinboots  9 месяцев назад

      Sure, I will create more videos on Nginx. I will create the content for IP address based access control and publish it soon.

    • @coderinboots
      @coderinboots  8 месяцев назад

      I have uploaded the video with this content. Please watch it. One more video will get published tomorrow that explains the automatic allow/deny rule configuration using fail2ban.

  • @armaan4529
    @armaan4529 4 месяца назад +1

    In this tutorial you are serving static page what if i had a express server with backend how can i deploy multiple express apps?. A reply would be helpful

    • @coderinboots
      @coderinboots  4 месяца назад

      The approach is the same. I have already created a video on this topic. Just create the required proxy entries within each virtual host. Please check the video below.
      ruclips.net/video/Vmb-B9Q_6V4/видео.htmlsi=FsVM_nJghPcu3HIC

  • @matinsyed5123
    @matinsyed5123 5 месяцев назад +1

    Can you deploy the nextjs application using Jenkins in nginx server

  • @rahulpardeshi4427
    @rahulpardeshi4427 Год назад

    nice explaination..... but what if we create files in site-available will it work??

    • @coderinboots
      @coderinboots  Год назад

      Yes. It will work. In the nginx config, there is a line that considers any files present inside site-available and conf.d. We can configure any custom directory also for placing the configuration file

    • @rahulpardeshi4427
      @rahulpardeshi4427 Год назад

      @@coderinboots thanks for your reply. do you have any video or documentation for how add GoDaddy SSL certificate in same configuration file. and also looking for path based routing

  • @yanetlameda1839
    @yanetlameda1839 4 месяца назад

    sweet tutorial, i used google vm, ubuntu and nginx, domain is on namecheap, everything goes good till i make a SSL certificate with certbot, i opened the 443 port on vm, but somehow the site doesnt connect. could you help me with that. thanks

    • @coderinboots
      @coderinboots  4 месяца назад

      Is the certificate generation successful. Are there any errors in the nginx logs. Check whether the nginx is set to listen request from all sources instead of just localhost.

    • @yanetlameda1839
      @yanetlameda1839 4 месяца назад

      @@coderinbootsyes, no error in the error.log. How i can do or check this: "Check whether the nginx is set to listen request from all sources instead of just localhost."

    • @yanetlameda1839
      @yanetlameda1839 4 месяца назад

      @@coderinboots yes, no error.log is empty. the default server is working, my custom was working before implemented the SSL certificate, my domain is in namecheap.
      how can i check or do this: Check whether the nginx is set to listen request from all sources instead of just localhost.

    • @yanetlameda1839
      @yanetlameda1839 4 месяца назад

      Yes, and the error.log is empty, default site is working without SSL, and custom was working till i made the SSL.
      i got my domain on namecheap.
      How can i do or heck this: Check whether the nginx is set to listen request from all sources instead of just localhost

  • @karimmourice244
    @karimmourice244 8 месяцев назад +1

    hello, I want to ask does it works with Multisite sub-directories?

    • @coderinboots
      @coderinboots  8 месяцев назад

      If you are referring to subdomains, yes. If not kindly elaborate the question.

    • @karimmourice244
      @karimmourice244 8 месяцев назад

      I mean does it work for WordPress Multisite sub-directories not sub-domains

    • @coderinboots
      @coderinboots  8 месяцев назад

      @@karimmourice244 - You can create virtual host with document root as the subdirectory. It will open the subdirectory directly instead of opening the landing page.

    • @karimmourice244
      @karimmourice244 8 месяцев назад

      thanks but do you have the script because i'm not from a technical background
      @@coderinboots

  • @prasadmanakondi9551
    @prasadmanakondi9551 9 месяцев назад

    how to achive reverse proxy in nginxaas for azure webapps

    • @coderinboots
      @coderinboots  9 месяцев назад

      There is another video in this channel that explains the reverse proxy. Please watch this video.
      ruclips.net/video/hiqJ7zKnOuU/видео.html

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

    is this topic usefull for cyber security students?

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

      A cyber security student should be well aware of the web technologies, web servers, configurations etc. So this will be a useful understanding.

  • @fredlaw8695
    @fredlaw8695 10 месяцев назад

    Hello, how can I get in contact with you please

    • @coderinboots
      @coderinboots  10 месяцев назад

      Please send an email to coderinboots[AT]gmail[DOT]com

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

    I keep getting a 400 error

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

      Can you check the error logs

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

    You are a cyber superhero, use your brilliant skills and sexy Indian accent to protect cyber Gotham