• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 480
  • Last Modified:

SSL redirecting to the wrong site

Hiyas

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 store1.com.  It's hosted on a server with the primary domain being host1.com.

The issue is that when i access https://www.store1.com (with and without the www) i am redirected to https://www.host1.com.

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

Any Ideas?  Help is much appreciated!
0
Fyre2012
Asked:
Fyre2012
3 Solutions
 
rama_krishna580Commented:
Check the Created and using Cert. is for which site.

R.K
0
 
Sam PanwarSr. Server AdministratorCommented:
Hi,

Please check the following in your computer

1. Go to domain store1.com 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.

like https://www.store1.com/index.html
if redirect then

create default.html and try
https://www.store1.com/default.html

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 www.store1.com  or  without www  check it store1.com
0
 
ahoffmannCommented:
> my newly installed SSL cert is sending me to the wrong directory
a cert is not "sending" you to somewhere else

>.. i access https://www.store1.com (with and without the www) i am redirected to https://www.host1.com.
you need to configure your server to proper handle its virtual domains, I guess Abs_jaipur  gave the suggestion how to do that
0
 
Dave_DietzCommented:
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
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now