[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


IIS Redirector...

Posted on 2007-08-02
Medium Priority
Last Modified: 2012-06-21
IIS6 , WIndows2003 R2 - IIS Redirection

Here is the situatuion:

I have www.mysite.com which has 2 functions 1, as a landing page and 2 as a credit card submission site.  I want to allow any user to access www.mysite.com (just like that) and then have the server automatically redirect the users session to https://www.mysite.com.

I want https redirection to happen automatically w/o any user interaction.

I have already tried a redirector, which simply refreshes the page everysecond, or another redirector that immediately redirects the page to a www.mysite.com/credit.htm (i dont want that to be the site)

remember i want ALL OF www.mysite.com to be redirected to https://www.mysite.com

Pleaes Advise...

Question by:rbollinger1212
  • 3

Expert Comment

ID: 19621529
In IIS 6, right-click the website for www.mysite.com and select Properties
Click on the Home Directory tab
Select the "a redirection to a URL" radio button
Type in https://www.mysite.com
check the "a permanent redirection to this resource" checkbox

That should do it for you.

Expert Comment

ID: 19621536
Oh - you may also want to check the "The exact URL entered above" checkbox

Accepted Solution

kzabbott earned 1000 total points
ID: 19621589
You know what  - I think I'm wrong in the above.  That works if you have two different sites completely, but yours is the same site.  So you'll need to create a custom error .asp file that does the redirect.  Here's a great, quick tutorial on just that:

Sorry to have misled you in that first go around!

Author Comment

ID: 19622392
Thank for all of your help... that worked well.


Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

834 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