Next.js Discord

Discord Forum

Best Hosting service for Next.js application

Answered
Tonkinese posted this in #help-forum
Open in Discord
Avatar
TonkineseOP
So i am making a next,js website for a client ,i am wondering wich hosting service do you recommend ,that actually support Node.js , latest Next.js application! And also there are different types of hostings : Shared,Vps ...etc ..Wich one do you suggest.

55 Replies

Answer
Avatar
TonkineseOP
What do you say about cPanel ?
Thank you for your fast answer by the way
It is a basic website nothing fancy
Avatar
Macao paper wasp
If you can spin up node in cPanel then you should be able to host Next.js, but Vercel has the best integration, it's like 2 clicks and it's done.
Avatar
TonkineseOP
So i would need to buy the pro plan wich is 20$ a month ?
Avatar
If you’re deploying a commercial site then yes
If hobby then no
If you plan on making money off your site, then you need a pro plan
Vercel is the best nextjs provider by far
It’s worth the money
You’re paying to remove headaches
Of maintaining your own
Avatar
TonkineseOP
@linesofcode Yes , it is a comercial site, and i plan only to deploy it i dont need any extra plugins in Vercel, like protection etc..So with those 20$ a month ,are there any untold extra costs
Like user visit limit ,and pay extra above it etc..I am new to this
Avatar
You would need a lot of traffic.
At which point you could probably afford the extra costs
There is this
You could deploy to aws amplify too
But the developer experience is definitely not as good as vercel
And if you’re using app dir it may not supported on aws amplify
You can try SST to deploy the nextjs app into aws too
But it’s definitely more for power users
If it’s your first time doing all this, vercel is the easiest by far
Avatar
TonkineseOP
Yes i am using app router @linesofcode
I've read somewhere about bots visiting the website ,and causing huge traffic ,wich incure extra costs
i think i've read it on medium a year ago, and it stucked in my ever since then: D
Avatar
I mean that’s a thing on any hosting provider
Avatar
TonkineseOP
Also ,another question , i will buy domain tommorow ,where do you suggest that i buy it , i've seen Hostinger they offer domain and free SSL, but it is monly subscription, also on namecheap i just buy it one time i guess. As for the domain , i do need only domain name ,and SSL certificate for it , is that all right?
sorry for the rookie question , i am new to this
Avatar
You need to take some extra steps to project your site
For example nextjs middleware combined with upstash
(Google that)
If you decide to use vercel then you can buy the domain through vercel
Everything will be taken care of like ssl and connecting the domain to your nextjs app
Most domains cost 20 dollars a year on vercel
You can buy on name cheap and transfer it into vercel too
And save a few dollars
Avatar
TonkineseOP
So basically i dont need hostinger then ,since its monthly subscription. So is ssl an extra cost on Vercel or it is included in the price
Avatar
Included
Avatar
TonkineseOP
Thank you, so as for the bots i've mentioned ,you suggest i incorporate next.js middleware and upstash for this
So is this the one " Edge Middleware " ?
Avatar
Yeah it runs on edge
Keep in mind some bots are good bots
If you block them all your seo ranking will be impacted
Typically one uses a combination of heuristics to determine if one should be blocked or not
Sometimes it can be as simple as a rate limiter and ip blocker
Avatar
TonkineseOP
I will certainly dive into this today, one more question and wonth bother you, does implementing this edge middleware with upstash incure some fees , i need to notify my client for how much money is needed for this project
i see upstasth has free version, so .. i dont think his website will even have much traffic ,especially in one go
Avatar
Free version may be enough
But if you go outside your limits
Then you’ll need to pay some more
Avatar
TonkineseOP
Ye i understand that . Since i am making a donation website ,meaning people will go to the website and get the sense of what we do and ,donate if they wont , i dont think that pro plan on vercel is actually needed, meaning i wont need 1tb of bandwith ,the traffic will be small,because people will actually be outhreached by telefon and mails and lead to a website for more info. is it possible i can do this with hoby plan ? I mean its like buying i9 processor and perfect graphic card and playing super mario .
I guess i can always upgrade to pro ,if needed