Subdomain Redirects

Posted by Community Admin on 04-Aug-2018 15:46

Subdomain Redirects

All Replies

Posted by Community Admin on 05-Dec-2012 00:00

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.

Posted by Community Admin on 09-Dec-2012 00:00

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]

This thread is closed