NextJS on Vercel vs Hostinger
Answered
Palomino posted this in #help-forum
PalominoOP
I wanna host my nextjs application on a VPS (On Hostinger for example) instead of Vercel, and i am wondering what the differences are, except for the pricing which is obvious..
Answered by B33fb0n3
Yes, you have only one server here. So all request will be handled by this server. So you might want to think about how to solve that. Or maybe you have not that much traffic, so that's not a problem
8 Replies
@Palomino I wanna host my nextjs application on a VPS (On Hostinger for example) instead of Vercel, and i am wondering what the differences are, except for the pricing which is obvious..
you get some advantages (see orange box), but when you host on your own VPS, you can still use all features from nextjs (see green arrow)
PalominoOP
how does the middleware file behave on a vps ?
@Palomino how does the middleware file behave on a vps ?
the same like on your local PC during developement
PalominoOP
that makes sense
PalominoOP
how about scaling? is there any thing i should worry about? since it won't be serverless anymore
@Palomino how about scaling? is there any thing i should worry about? since it won't be serverless anymore
Yes, you have only one server here. So all request will be handled by this server. So you might want to think about how to solve that. Or maybe you have not that much traffic, so that's not a problem
Answer
PalominoOP
i see, that answers my question, thank you
happy to help