Self-Host Next.js 15 on VPS in 8 Minutes (EASY!)

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

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

  • @alexloktev4791
    @alexloktev4791 9 дней назад +18

    Great tutorial, thank you!
    hoping for a future video on moving it to a domain, installing an ssl certificate and adding a load balancer etc. to make it production ready.

    • @ByteGrad
      @ByteGrad  9 дней назад +9

      Great suggestion

    • @dirtbagmoto
      @dirtbagmoto 8 дней назад +3

      Would be cool to see CI/CD with GitHub actions to handle the docker build and deployment on push 😁

  • @GCosta26
    @GCosta26 8 дней назад +4

    Would love to see how to implement CI/CD with this environment.

  • @cloudsss83
    @cloudsss83 8 дней назад +3

    Which feature would we lose when hosting this on a VPS? Great content, thanks!

  • @Lapatate-s1l
    @Lapatate-s1l 9 дней назад +3

    Glad to see you back 😊

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 8 дней назад +1

    Thanks , do you have any video on how to put Next15 in a docker container?

  • @mbuzogan
    @mbuzogan 8 дней назад +1

    I was just researching possibilities of various VPS with latest NextJs ... very helpful, thanks
    I would also welcome something more detailed to get VPS ready for production

  • @digitnomad
    @digitnomad 7 дней назад

    Put in docker then push to vercel will be much easier.

  • @palaceofgains7782
    @palaceofgains7782 9 дней назад +1

    Have you added next js 15 in your course

  • @DiscipleofYah777
    @DiscipleofYah777 9 дней назад

    This will be very useful.
    What do you think of Digital Ocean?

  • @returnZeroo
    @returnZeroo 8 дней назад +1

    Next step: To point a domain, setup reverse proxy using caddy(easiest solution)

  • @nithish8111
    @nithish8111 9 дней назад +1

    Can we host on the web hosting in hostinger

  • @barjeesbabar9944
    @barjeesbabar9944 9 дней назад +1

    Why do you never show how to attach a domain and ssl to it?

  • @mykus1000
    @mykus1000 8 дней назад

    And docker composé ?

  • @eduardlucaci7369
    @eduardlucaci7369 9 дней назад

    It is working if i use Prisma for exemple?

  • @mzafarr
    @mzafarr 9 дней назад

    I saw in a video that some of the features that new version of Nextjs offers are automatic in vercel but are really hard to do in custom deployment, is there something like that?

  • @nri_raj
    @nri_raj 9 дней назад

    How to host nextjs app in VPS windows server 2022 using IIS or by any other way

  • @Sieuphamsutphat
    @Sieuphamsutphat 8 дней назад

    Nice video that Im looking for 🎉❤

  • @melvindavelaar3801
    @melvindavelaar3801 9 дней назад

    Thank you for the info! I wonder, what would the advantage be when using a VPS instead of Vercel?

    • @maccalsa1
      @maccalsa1 9 дней назад +1

      None other than cost. It's no more than running your production build inside a container. You lose scalability, serverless, cdn, and advanced dynamic cache operations. Also, if you are using the the Image component, you need to install sharp, but remember your container is now resizing the images as well as running your app, which is an expensive operation (as in time)
      Vercel sort of splits your app up into separate parts to run it efficiently in AWS

    • @cloudradio
      @cloudradio 9 дней назад

      @@maccalsa1 Sharp is no longer required with NextJS v15, it comes preinstalled by default (mentioned in the video as well)

    • @maccalsa1
      @maccalsa1 8 дней назад

      @cloudradio ok, my miss, that wasn't in 14. Point still valid regardless of the image optimisation, though, unless you cache heavily or put it on a cdn yourself.

  • @alexdin1565
    @alexdin1565 9 дней назад +1

    hi thanks for sharing this
    please if you or anyone can help me can we hosted on the web hosting instead of the Vps if you ask me why I find that the web hosting can let you host 100 website instead of the vps when you can host 1 website

    • @cloudradio
      @cloudradio 9 дней назад

      Incorrect. On a VPS you can host as many websites as you want as long as you still have system resources for it (CPU, RAM and Storage)

  • @tmjjdw
    @tmjjdw 7 дней назад

  • @leevu12
    @leevu12 9 дней назад +9

    First comment🎉

  • @Cloudio126
    @Cloudio126 9 дней назад

    If i want to map the docker image to the port 80 i need to write 8080:3000?

    • @cloudradio
      @cloudradio 9 дней назад +2

      That would be 80:3000, but this approach is not very good. Instead of that, use a web server like Apache2 or Nginx to make a reverse proxy, that way you will be able to expose multiple websites/services through port 80 instead of blocking it with one docker deployment.

  • @mj-iw6iz
    @mj-iw6iz 9 дней назад

    Why not just do ' npm run build' and upload it to a VPS?

  • @ianc6418
    @ianc6418 9 дней назад

    i wouldnt use next 15 until react 19 is stable and in use