SSL redirecting to the wrong site

Posted on 2006-05-04
Last Modified: 2010-04-20

I recently set up a new Windows server, and i'm a linux guy.  Talk about a fish out of water.
The issue i'm having is that my newly installed SSL cert is sending me to the wrong directory.

For example, say the site i'm working on is  It's hosted on a server with the primary domain being

The issue is that when i access (with and without the www) i am redirected to

This is causing my webstore to get a little batty when handling sessions...

Any Ideas?  Help is much appreciated!
Question by:Fyre2012
    LVL 23

    Expert Comment

    Check the Created and using Cert. is for which site.

    LVL 18

    Accepted Solution


    Please check the following in your computer

    1. Go to domain and check the default page of this domain have if any redirect script in the default page . Or you can check it with the other default page.

    if redirect then

    create default.html and try

    2. Check the IIS host header
    IIS>website>select website>properties>home directory tab >check here if you can enter any redirect url

    3. HAve you use any tool like IISredirect in your server please check

    4.Check the your SSL certificate its register for  or  without www  check it
    LVL 51

    Assisted Solution

    > my newly installed SSL cert is sending me to the wrong directory
    a cert is not "sending" you to somewhere else

    >.. i access (with and without the www) i am redirected to
    you need to configure your server to proper handle its virtual domains, I guess Abs_jaipur  gave the suggestion how to do that
    LVL 34

    Assisted Solution

    Most likely the main domain site is bound to port 443 on all IP addresses and is catching all traffic to the server coming in via SSL.

    If you need SSL on the main site you will need a seperate IP address for the store1 site.
    If you do not need SSL for the main site you should be able to remove the SSL binding for the main site and configure the store1 site to listen on port 443.

    Hopefully you ar enot trying to use SSL on multiple sites that are using Host Headers - it doesn't work.

    Dave Dietz

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Redirect website ! 4 49
    wordpress email form 23 64
    .dwt files not viewable in browser - why? 2 33
    Webserver access problem 5 45
    Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now