Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible redirect all subdomains to a specific URL?

I'm using Godaddy Hosting (Windows Plan - IIS7)

Generic example 1:

*.mysite.com

REDIRECT TO

mysite.com/pages/*

Example 2:

anysubdomain.mysite.com

REDIRECT TO

mysite.com/pages/anysubdomain
share|improve this question
add comment

1 Answer

According to this:

The procedures for configuring HTTP redirection can be performed at the following levels in IIS:

  1. Web Server
  2. Site
  3. Application
  4. Physical and virtual directories
  5. File (URL)

By itself I don't think IIS 7 supports subdomain redirection.

You need something like URL Rewrite Module which will allow you to make a catch all or regex rule for subdomain redirection, but I am not sure if GoDaddy allows you to install modules, or if they will install that module for you.

share|improve this answer
    
So in short, contact customer support. –  LapTop006 Jul 11 '09 at 9:21
    
Yes, but at least you know it is possible with the right tool. Now you just have to convince them to install it for you. –  Jack B Nimble Jul 11 '09 at 15:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.