Map Subdomain to other website

I have a really simple. I have a domain https://www.thejump.tech that points to hardcore-villani-ef6ea2.netlify.com using a DNS CNAME record using Netlify DNS. I want to set up a sub-domain https://student-portal.thejump.tech to aim at the URL https://student-portal-the-jump-portal-team.vercel.app/ (obviously offsite on vercel). I’m trying to find the best way to achieve that.

I have read the redirects rules but am not totally sure of the best way. Do I need to add a _redirects file to the root of my netlify site? I tried adding a CNAME DNS entry for the subdomain that aimed at the vercel site but that didn’t work.

Any help greatly appreciated…

Hi :wave:t6: welcome to the forums. You can add a _redirects file to the root of your Netlify site to handle redirects and rewrites. This file should be saved without a file extension to the publish directory of your site. You can also add one or more redirects tables to your Netlify configuration file for a more structured configuration.

Here is an example of how you might set up a redirect in your _redirects file or netlify.toml file:

/*    /index.html   200

If you’re using Netlify DNS you should not have a CNAME record for this. You should have a NETLIFY record.

Accomplishing the above has nothing to do with

You need to look through Vercel’s documentation on adding a custom domain to a site and the record(s) required to accomplish this.