SSL & Redirect problem

  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

I have 2 sites on one server qa .domainname.com & www .domainname.com

www - is intended to be the production version of the site
qa - is intended to be the test version of the site

www - has a legit purchased SSL cert running on port 443
qa - has a self signed SSL cert running on port 444

when I try to navigate to any https pages on qa I get redirected to the www equivalent...which is not what I want...I want to land on the qa page not the www page

any thoughts?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Have you set up any other subdomains prior to this one? Did they work as intended or redirect?
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

the subdomain works fine. all of the non https pages navigate appropriately

if I navigate to http://qa.domainname.com/pagename.asp I get the appropriate page

BUT

if I navigate to https://qa.domainname.com/pagename.asp I end up getting the www version of pagename.asp
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Are you on your own server or thru a hosting service? I ask b/c your .htaccess could be doing the redirect? I haven't seen this before, so just throwing out ideas.
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

my own server using IIS
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Not sure on this one. I'm not much of a server config kind of guy. Best I can do until someone with some know-how comes along is refer you to something like this article. They seem to have two working off the same port. Perhaps there's something in there that could help.
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

UPSGuy I think your solution of using a wildcard cert could work

BUT...

That's not an option. I need to get the self signed cert I created to work for the test site along side the godaddy cert we have for the production site.

UPSGuy thanks for your help!
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Ah, well, was worth a shot. You're welcome. Hopefully someone with the correct answer will come in shortly.
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

anyone know how to get the self-signed cert and the godaddy cert to coexist on the same server?
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

Can you have two separate SSL certs on the same IP address if they are using different ports?

my www site and my qa site both operate on the same IP address

I read a post saying that you cannot. If that's the case then that might explain things...

Really not sure. Anyone know the deal?
  • s15199d
  • Expert
  • Expert
  • User avatar
  • Posts: 524
  • Loc: NC, USA

Post 3+ Months Ago

This post answered my question http://forums.iis.net/t/1147147.aspx

It says that you CAN "technically" have multiple SSL certs on the same IP address. Using the information I've already provided here's how it would work:

https://www.domainname.com/pagename.asp
This path will use the cert assigned to the default port 443

https://qa.domainname.com:444/pagename.asp
This path will use the cert assigned to port 444

Therefore, it is possible, but this isn't my desired outcome. So, I'm going to have to research setting up my QA sub-domain using a different IP address than the WWW.

Hope this helps someone else down the road. UPSGuy thanks again for your help!
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

Sure thing, sorry we couldn't come up with it for ya. Maybe on the next one. :)

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 120 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.