1. From a marketing/SEO perspective is this the correct way to go about it? What are some SEO considerations we should keep in mind with something like this? We don't want a situation in the future where our subdomain ends up being more popular than our regular domain. 2. How can we best do this through Vercel? As I understand it, projects on Vercel can only have one production domain. I can create another project and then link the same repository to it but that is causing its own set of problems. Is there a way to add a second production domain on Vercel or some other method that Vercel/Nextjs provides that we can use?
But on the Vercel side, I think you can just add them as two separate projects, one with the root/www and the other with the subdomain? https://old.reddit.com/r/nextjs/comments/itudpi/separate_app...
Why would the two sites even share the same codebase? They sound like entirely different sites anyway? If you really want them to be in the same codebase but render something different depending on the URL, maybe https://nextjs.org/docs/pages/building-your-application/depl... or https://medium.com/@jfbaraky/using-subdomains-as-paths-on-ne.... Or ask Vercel support; even on the free plan, I've found them to be pretty helpful.