Skip to content

dcangulo/nextjs-subdomain-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js Subdomain Example

It uses the following as references:

If we are going to run this using next dev we will have the following routes:

But by running node server.js we will have the following routes:

Development Setup

  • git clone https://github.com/dcangulo/nextjs-subdomain-example.git
  • cd nextjs-subdomain-example
  • yarn
  • yarn dev