configure next.js to allow routing to different parts of the app depending on what domain is being used