# Subdomain redirect

**URL:** <https://answers.netlify.com/t/subdomain-redirect/73029>\
**Category:** Support\
**Tags:** redirects, nextjs\
**Created:** [August 8, 2022, 3:15pm UTC](https://answers.netlify.com/t/subdomain-redirect/73029 "2022-08-08T15:15:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Melvin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/melvin/32/23606_2.png) [@Melvin](https://answers.netlify.com/u/Melvin)\
**Post date:** [August 10, 2022, 5:12pm UTC](https://answers.netlify.com/t/subdomain-redirect/73029/4 "2022-08-10T17:12:23Z")

</div>

Hi @Bjunkz,

Thanks for providing the repo.

If I understand correctly, when going to the subdomain [https://tvatt.brfmagelungen.se](https://tvatt.brfmagelungen.se/) it should redirect to an external link. Currently, the subdomain hasn’t been added to the site. Was it removed? You’ll want to add the subdomain to the site [here](https://app.netlify.com/sites/brfmagelungen/settings/domain#custom-domains).

For the redirect, I did find this other Netlify Support Forum post that may help with creating the redirect here of a subdomain to an external site:

> [@How to Redirect a Subdomain to an External App](https://answers.netlify.com/t/how-to-redirect-a-subdomain-to-an-external-app/16001):
>
> i have a blog hosted on netlify pretty simple to setup… i have set it so that my DNS is managed by netlify. i can create subdomain from the netlify control panel, but i dont know how to set it up so that a subdomain can point to a separate app (for example: hosted by aws) currently when i create a subdomain ([test.my-blog.com](http://test.my-blog.com)), it simply points to the main site ([my-blog.com](http://my-blog.com)), which is the same thing as not having a subdomain. i am looking at the documentation and it seems unclear to me so it w…

Additionally, we have a Netlify Next.js template and the Netlify Next.js plugin docs that has additional information on redirect [here](https://github.com/netlify-templates/nextjs-toolbox#redirects) and [here](https://github.com/netlify/netlify-plugin-nextjs/blob/main/docs/redirects-rewrites.md).

Let us know if you have any questions.

---

_[View the full topic](https://answers.netlify.com/t/subdomain-redirect/73029)._
