Deploy


Now


Nowarrow-up-right -- great pun, right? -- it's time to show your project to the world!

For easy, zero configuration deployment, you can use nowarrow-up-right. After you have downloaded and installed nowarrow-up-right's desktop applicationarrow-up-right, you can deploy Next.jsarrow-up-right with a single command.

$ now

You will get a unique URL which you can then link via now alias to your custom domain.

Node.js Server


Next.js can be deployed to any hosting provider that supports Node.js. This is the approach you should take if you’re using a custom serverarrow-up-right.

Make sure your package.json has the build and start scripts:

next build builds the production application in the .next folder. After building, next start starts a Node.js server that supports hybrid pagesarrow-up-right, serving both statically generated and server-side rendered pages.

Last updated