Deploy a Next.js App to Azure App Services

By: DN
Posted: September 26, 2019

The best way to deploy a Next.js web app is the Serverless Now Platform at ZEIT.co. However, many large corporations may not consider ZEIT a part of their hyper-scaler strategy.

So you would need to figure out this process for Azure, AWS, or GCP.

While seeking to host explore the option to use Next.js and deployment to Azure App Service, I noticed very few online resources existed to outline the steps required.

Luckily, Munaga, documented exactly this process on YouTube: Deploying NextJS app on Azure App Service.

You will also need a web.config and server.js file from the following github repo as well: https://github.com/MRCollective/nextjs-server-azuresiteextension/tree/master/Next.js/files