Which plan do I need for a Next.js / Node.js project?
Our Node.js hosting isn't just for Discord bots — it runs full Node.js apps too, including frameworks like Next.js. This article helps you choose a plan and set up a project that serves web traffic.
Which plan fits your project
Any Node.js project runs on our bot/Node hosting. The main thing to size for is RAM — pick a plan sized to your app's memory needs. A small bot is happy on a modest plan, while a Next.js app that renders pages and serves traffic generally wants more headroom.
Setting up an app that serves traffic
Apps like Next.js that serve HTTP traffic need a port to listen on:
- Upload your project and
package.jsonto the Files tab. - Set your entry/start command in the Startup tab.
- Add a port in the Ports tab and have your app listen on it.
Tip: If you're unsure which plan fits, open a ticket and we'll advise on the right size for your app's RAM needs.
Frequently asked questions
Do I need a port for a plain Discord bot? No — a normal bot connects out to Discord and doesn't need an inbound port. You only need a port when something must connect to your app, like a web server.
Can I run the production build of Next.js? Yes. Build your app and set the production start command in the Startup tab, then expose it via the Ports tab.