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

  Рет қаралды 11,406

ByteGrad

ByteGrad

Күн бұрын

Пікірлер: 39
@alexloktev4791
@alexloktev4791 Ай бұрын
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 Ай бұрын
Great suggestion
@dirtbagmoto
@dirtbagmoto Ай бұрын
Would be cool to see CI/CD with GitHub actions to handle the docker build and deployment on push 😁
@user-oq3wt9rz8h
@user-oq3wt9rz8h 26 күн бұрын
@@ByteGrad Yeah please make a detailed video how to do that and also set up a secure database on the server. That would be really great!
@Lapatate-s1l
@Lapatate-s1l Ай бұрын
Glad to see you back 😊
@GCosta26
@GCosta26 Ай бұрын
Would love to see how to implement CI/CD with this environment.
@cloudsss83
@cloudsss83 Ай бұрын
Which feature would we lose when hosting this on a VPS? Great content, thanks!
@mbuzogan
@mbuzogan Ай бұрын
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
@Deus-lo-Vuilt
@Deus-lo-Vuilt Ай бұрын
Thanks , do you have any video on how to put Next15 in a docker container?
@Sieuphamsutphat
@Sieuphamsutphat Ай бұрын
Nice video that Im looking for 🎉❤
@MuhammadSuleman-d7s
@MuhammadSuleman-d7s 16 күн бұрын
Man you are a gem ❤️! I finished a project a was worried how I am gonna deploy it as I haven’t done it before but man thank you 🥹
@nri_raj
@nri_raj Ай бұрын
How to host nextjs app in VPS windows server 2022 using IIS or by any other way
@nithish8111
@nithish8111 Ай бұрын
Can we host on the web hosting in hostinger
@palaceofgains7782
@palaceofgains7782 Ай бұрын
Have you added next js 15 in your course
@LMrc534
@LMrc534 11 күн бұрын
will the website be indexed by the search engines?
@mzafarr
@mzafarr Ай бұрын
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?
@alexdin1565
@alexdin1565 Ай бұрын
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 Ай бұрын
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)
@barjeesbabar9944
@barjeesbabar9944 Ай бұрын
Why do you never show how to attach a domain and ssl to it?
@DiscipleofYah777
@DiscipleofYah777 Ай бұрын
This will be very useful. What do you think of Digital Ocean?
@eduardlucaci7369
@eduardlucaci7369 Ай бұрын
It is working if i use Prisma for exemple?
@leevu12
@leevu12 Ай бұрын
First comment🎉
@ByteGrad
@ByteGrad Ай бұрын
Second!
@Mazmiiskndr
@Mazmiiskndr Ай бұрын
Three
@hireetech
@hireetech Ай бұрын
Four 😂😂😂
@Cloudio126
@Cloudio126 Ай бұрын
If i want to map the docker image to the port 80 i need to write 8080:3000?
@cloudradio
@cloudradio Ай бұрын
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.
@digitnomad
@digitnomad Ай бұрын
Put in docker then push to vercel will be much easier.
@mykus1000
@mykus1000 Ай бұрын
And docker composé ?
@returnZeroo
@returnZeroo Ай бұрын
Next step: To point a domain, setup reverse proxy using caddy(easiest solution)
@mj-iw6iz
@mj-iw6iz Ай бұрын
Why not just do ' npm run build' and upload it to a VPS?
@tmjjdw
@tmjjdw Ай бұрын
@ianc6418
@ianc6418 Ай бұрын
i wouldnt use next 15 until react 19 is stable and in use
@melvindavelaar3801
@melvindavelaar3801 Ай бұрын
Thank you for the info! I wonder, what would the advantage be when using a VPS instead of Vercel?
@maccalsa1
@maccalsa1 Ай бұрын
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 Ай бұрын
@@maccalsa1 Sharp is no longer required with NextJS v15, it comes preinstalled by default (mentioned in the video as well)
@maccalsa1
@maccalsa1 Ай бұрын
@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.
@RTXALERTS
@RTXALERTS Ай бұрын
i have unlimited business vps at low price
Dockerize Next.js & Deploy to VPS (EASY!)
19:43
ByteGrad
Рет қаралды 74 М.
The BEST way to host Next.js websites
17:37
ByteGrad
Рет қаралды 63 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
the most important Next.js features to learn (in 8 minutes)
8:26
Web Dev Cody
Рет қаралды 70 М.
NextJS Is Hard To Self Host
39:32
ThePrimeTime
Рет қаралды 124 М.
Setting up a production ready VPS is a lot easier than I thought.
29:50
Tailwind V4 is WAY better than I expected
30:17
Theo - t3․gg
Рет қаралды 132 М.
Is Next.js 15 any good? "use cache" API first look
8:16
Beyond Fireship
Рет қаралды 130 М.
Next.js 15 Breakdown (Everything You Need To Know)
18:10
Web Dev Simplified
Рет қаралды 88 М.
Why I'd never host my apps on a VPS
13:43
Web Dev Cody
Рет қаралды 70 М.
Why's nobody using Astro?
9:26
Maximilian Schwarzmüller
Рет қаралды 32 М.
NextJS Tutorial - All 12 Concepts You Need to Know
44:38
ByteGrad
Рет қаралды 365 М.