NextJS on Vercel vs Hostinger
Answered
Satin Angora posted this in #help-forum
Satin AngoraOP
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
@Satin Angora 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)
Satin AngoraOP
how does the middleware file behave on a vps ?
@Satin Angora how does the middleware file behave on a vps ?
the same like on your local PC during developement
Satin AngoraOP
that makes sense
Satin AngoraOP
how about scaling? is there any thing i should worry about? since it won't be serverless anymore
@Satin Angora 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
Satin AngoraOP
i see, that answers my question, thank you
happy to help