# How to direct a page hosted in a subdomain to home page

**URL:** <https://community.sitejet.io/t/how-to-direct-a-page-hosted-in-a-subdomain-to-home-page/795>\
**Category:** Domains and Emails\
**Tags:** crm\_domain\
**Created:** [August 6, 2021, 12:48pm UTC](https://community.sitejet.io/t/how-to-direct-a-page-hosted-in-a-subdomain-to-home-page/795 "2021-08-06T12:48:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suman\_S](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Suman\_S](https://community.sitejet.io/u/Suman_S)\
**Post date:** [August 6, 2021, 12:48pm UTC](https://community.sitejet.io/t/how-to-direct-a-page-hosted-in-a-subdomain-to-home-page/795/1 "2021-08-06T12:48:42Z")

</div>

Hi,

I have a page with URL as _[sudomain.mydomain.com](http://sudomain.mydomain.com)_ and when user clicks on this page, they should be directed to home page.

How to achieve this in the sitejet - using 301 redirects?

---

<div class="post-metadata">

**Author:** ![Lucian\_Dinu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/lucian_dinu/32/141_2.png) [@Lucian\_Dinu](https://community.sitejet.io/u/Lucian_Dinu)\
**Post date:** [August 7, 2021, 7:28am UTC](https://community.sitejet.io/t/how-to-direct-a-page-hosted-in-a-subdomain-to-home-page/795/2 "2021-08-07T07:28:10Z")

</div>

Hi! I think there are 2 scenarios here:

1. Your domain is brought thought SiteJet - in this case you can use the redirect feature.
2. Your domain is only connected to SiteJet (is registered outside SiteJet) - see requirements bellow

If your domain is connected to SiteJet, before doing anything you need to make sure that:

1. [mydomain.com](http://mydomain.com) is added to SiteJet (basically your existing domain is pointing to Sitejet - see more [here](https://help.sitejet.io/article/540-publish-a-website))
2. [sudomain.mydomain.com](http://sudomain.mydomain.com) is also pointing to SiteJet (using CNAME) - see more [here](https://help.sitejet.io/article/704-add-subdomains)

If all the above requirements are met then you can use the redirect functionality from SiteJet - see more here: [Redirects - Sitejet Help](https://help.sitejet.io/article/734-redirects)

P.S. I have not tried this, but it should work … Hope it helps!

---

<div class="post-metadata">

**Author:** ![Suman\_S](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Suman\_S](https://community.sitejet.io/u/Suman_S)\
**Post date:** [August 7, 2021, 10:17am UTC](https://community.sitejet.io/t/how-to-direct-a-page-hosted-in-a-subdomain-to-home-page/795/3 "2021-08-07T10:17:56Z")

</div>

Thank you, Lucian.

Let me try and share the outcome.

---

<div class="post-metadata">

**Author:** ![Mark\_Fosseprez](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/mark_fosseprez/32/58_2.png) [@Mark\_Fosseprez](https://community.sitejet.io/u/Mark_Fosseprez)\
**Post date:** [November 10, 2021, 3:39pm UTC](https://community.sitejet.io/t/how-to-direct-a-page-hosted-in-a-subdomain-to-home-page/795/4 "2021-11-10T15:39:14Z")

</div>

Hi @Lucian_Dinu \_dinu, @Suman_S an\_s,

I tried to do the same, but isn’t working for me. Did this work out for you? Im uncertain on how exactly to define the subdomain in the redirect instruction in sitejet (bu tried different variations without result…).

kind regards  
Mark

---

<div class="post-metadata">

**Author:** ![Lucian\_Dinu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/lucian_dinu/32/141_2.png) [@Lucian\_Dinu](https://community.sitejet.io/u/Lucian_Dinu)\
**Post date:** [November 29, 2021, 10:28am UTC](https://community.sitejet.io/t/how-to-direct-a-page-hosted-in-a-subdomain-to-home-page/795/5 "2021-11-29T10:28:15Z")

</div>

Hi @Mark_Fosseprez,  
I’m not really sure why is not working, I do recommend to contact SJ Support.
