Next.js Discord

Discord Forum

Using multiple domains in one project?

Unanswered
Korean bullhead posted this in #help-forum
Open in Discord
Korean bullheadOP
For my project whose primary domain is gozipzip.com, people can create profiles, accessible at a shorter domain zipzip.io.
It's such that if a profile exists at zipzip.io/john you cannot access it at gozipzip.com/john.

How do I handle this in routing? I'd like to keep both in the same project.

1 Reply

wouldn't it be better to redirect zipzip.io to gozipzip.com? this is what a lot of websites do, they have a shorter link for easier sharing and its basically a redirect to the main domain