0

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

1 Answer 1

1

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.

2
  • So in short, contact customer support.
    – LapTop006
    Jul 11, 2009 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. Jul 11, 2009 at 15:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .