[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

URL redirect with iis6

Posted on 2013-01-10
9
Medium Priority
?
652 Views
Last Modified: 2013-11-19
We have three outside dns domains, mycompany.com, mycompany.us and mycompany.net.

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 www.mycompany.com 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 www.mycompany.us and www.mycompany.net to www.mycompany.com so we can use a single certificate for each site.

We are running windows 2003R2 and IIS 6.
0
Comment
Question by:jimmylew52
[X]
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
9 Comments
 
LVL 22

Expert Comment

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

<html>
<META HTTP-EQUIV="Refresh" content= "0;URL=https://yourcompanywebsite.com/index.htm">
</html

Open in new window

0
 
LVL 10

Expert Comment

by:Damjan
ID: 38763068
You can setup redirection inside IIS. Follow these instructions - http://www.serverintellect.com/support/iis6/iis-url-redirect.aspx
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 38763129
Am I understanding this correctly.

I have to build a site for www.mycompany.us and a site for www.mycompany.net and add that code to the default page for each?

If so how does this allow me to use the cert for www.mycompany.com and not have to have one for www.mycompany.us and www.mycompany.net?  I would think we would get an error without the cert for the sites.
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 1

Author Comment

by:jimmylew52
ID: 38763137
Right now we have a single default site that uses the 443 port on the server.
0
 
LVL 1

Author Comment

by:jimmylew52
ID: 38763174
damjanholsedl

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

Accepted Solution

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

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/23c7155c-dde4-4a1c-95e5-09bc62b1f6c0.mspx?mfr=true

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

Author Comment

by:jimmylew52
ID: 38763263
I created the site www.mycompany.us and redirected to www.mycompany.com.

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

Have I done something wrong?
0
 
LVL 22

Expert Comment

by:mcsween
ID: 38763679
You would just go to www.mycompany.us or http://www.mycompany.us and it will redirect you to https://www.mycompany.com.

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

Author Comment

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

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
What You Need to Know when Searching for a Webhost Provider
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…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

656 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