URL redirect with iis6

Posted on 2013-01-10
Last Modified: 2013-11-19
We have three outside dns domains,, and

All three domains have a web server,  www.mycompany.???,  that is on the same server and and all point to the same address.

Access is only allowed through HTTPS. We want to buy a single certificate for and have access to it through all three domains. Since we have this same situation for 80 different web sites the cost of multi certs is out of the question.

How can I redirect and to so we can use a single certificate for each site.

We are running windows 2003R2 and IIS 6.
Question by:jimmylew52
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
LVL 22

Expert Comment

ID: 38763023
Create the site in IIS and use the following code in your default page to redirect to the real site.

<META HTTP-EQUIV="Refresh" content= "0;URL=">

Open in new window

LVL 10

Expert Comment

ID: 38763068
You can setup redirection inside IIS. Follow these instructions -

Author Comment

ID: 38763129
Am I understanding this correctly.

I have to build a site for and a site for and add that code to the default page for each?

If so how does this allow me to use the cert for and not have to have one for and  I would think we would get an error without the cert for the sites.
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Author Comment

ID: 38763137
Right now we have a single default site that uses the 443 port on the server.

Author Comment

ID: 38763174

I understand the process for redirecting the sites well enough but do not understand how the websites for and can be setup on the same server using the same port.  Port 443 is the only open port to the server.
LVL 22

Accepted Solution

mcsween earned 500 total points
ID: 38763196
You will want to use host headers in IIS to distinguish between different sites on the same port.

The redirect sites would be on port 80 and you would redirect to 443 (https).

Author Comment

ID: 38763263
I created the site and redirected to

When I enter HTTPS:// I get a certificate exception error.

Have I done something wrong?
LVL 22

Expert Comment

ID: 38763679
You would just go to or and it will redirect you to

You do not need the redirect sites listening on port 443 (https), just put them on port 80 (http)

Author Comment

ID: 38763833
Thank You, it is working now. The settings would not save unless I checked the checkbox to direct to the specific URL.

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Hosting 16 102
what is the best way to be able to share my GIFs animated pictures 7 53
Cannot access website or email server 4 81
ReadyAPI 1.9.0 2 37
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question