As mentioned, you can also deploy your Next.js app to your own servers, provided that you have the required system administration skills to set up and maintain the servers.

Your servers could be on premise, or on cloud computing platforms like Amazon Web Service, Microsoft Azure, Google Cloud, Digital Ocean, etc.

If you can do a Static Export you can then run your website using any web server software, such as Nginx. Just an example you can follow the How To Install Nginx on Ubuntu 22.04 tutorial.

If your app uses full-stack features like server-side rendering you'll need to run it with Node.js. In this case setting up the server will involve a few different steps;

  1. Install Node.js;

  2. Transfer your project code to the server, e.g. by downloading it from a Git repository;

  3. Run next build to prepare the production files;

  4. Start the server with next start;

  5. Configure the system to start your app automatically on boot, using e.g. systemd on Linux.

For a detailed example you can read How To Set Up a Node.js Application for Production on Ubuntu 20.04. To start your Next.js app, rather than running node hello.js like in the tutorial you'd launch the next start command in your project folder.