Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the subdomain I need to redirect it to as is no longer is in use (we have rebranded).

What is the best way to do this without getting the browser to warn the user?


  • My DNS provided wont let me create a cname to go to a subdomain called a. on another domain.
  • I am running IIS 7
share|improve this question

Since the SSL Handshake occurs before the HTTP Response, you won't be able to do that, unless you have a valid certificate for both and

As TristanK pointed out, the IIS HTTP Redirection feature will let you configure redirects for you.

The easiest way though (if you just want the root of the site to point to the other), and from a performance point-of-view, probably the approach with the smallest resource footprint is just to let the browser client handle the redirect itself, with the meta-equiv refresh html tag:

<meta http-equiv="refresh" content="0; url=">
share|improve this answer
I do have a cert for both address. What would I do now? – John Jan 24 '12 at 22:41
Updated the answer – Mathias R. Jessen Jan 25 '12 at 12:57
Still sadly seem to get a certifcate warning in the browser – John Jan 25 '12 at 14:18
What does the warning say? Details please? Screenshots if relevant – Mathias R. Jessen Jan 26 '12 at 6:37


  • a user can browse to and separately, without getting a browser error

The answer is that you need to use some form of HTTP redirection by the client - for example, to 301 the client to the new location.

The HTTP Redirection module can probably be used for that.

share|improve this answer

Your Answer


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.