Configure Multiple Domains with NextJS

Last Updated: Sep 4, 2024

Overview

This article is for admins who are trying to dynamically configure two different domains for the same application in two different languages using NextJS.

The issue is that they are using the same redirect URL in both domains.

Applies To

  • Domain Configuration
  • Multiple languages
  • Next JS

Solution

There are a few options to solve this issue: