More in this section

Forums / Developing with Sitefinity / Subdomain Redirects

Subdomain Redirects

2 posts, 0 answered
  1. Glavin
    Glavin avatar
    8 posts
    07 Nov 2008
    05 Dec 2012
    Link to this post
    I am trying to do research for a client if the following is possible and thus far turning up empty.

    If I have a site (say that has several blogs set up in it (, how would I go about getting any traffic to to automatically redirect to or treat that domain as separate site?

    I know there are ways to set up redirect sites in IIS to catch and redirect to the main sitefinity site, but that will take more IIS configuration work on the clients part.
  2. Arno
    Arno avatar
    249 posts
    08 Sep 2010
    09 Dec 2012
    Link to this post
    Hi Michael,

    If all subdomains of the website are blogs then you would need just one rule in IIS, or in any other product to manage redirects, such as Helicon Ape (

    Something like this would be required in .htaccess for Helicon Ape I think, but you would have to test it:
    RewriteCond %{HTTP_HOST} ^(.*)\.mysite\.com$ [NC]
    RewriteRule .? http\://$1 [R=301,L]
2 posts, 0 answered