Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sharing an SSL with two OsC stores...


friedmds

Recommended Posts

Posted

Here is what I hope to do. Could someone tell me if it's possible? So far I've had no luck.

 

 

My plan is to have two OsC stores at two different domains so I set up a third domain for my SSL cert. For example:

 

Store 1 = www.store1.com/catalog

 

Store 2 = www.store2.com/catalog

 

SSL = secure.ssldomain.com

 

 

I setup Store1 to try it and when I go to checkout it goes to https but comes back with page cannot be found errors:

 

http://www.philjonesbass.com/pjbdirect

 

Do I need to use a common domain for all stores and SSL? Any advice would be greatly appreciated.

 

Thanks in advance

Posted

I haven't got an answer for you at the moment but I'd like to do that exact same thing and I'll let you know when I work it out. It's probably worth putting into some tutorial anyhow.

 

The instructions on this forum for using SSL with OSC talks about having two parrallel installs

 

http://www.domain.com/oscommerce

https://www.domain.com/oscommerce

 

Please someone correct me if I'm wrong!!!

 

A few people have pointed out that although this might work, it's not ideal.

 

My question is -- has anyone got any notes on doing this? --

 

~ What files are needed to complete a secure transaction

 

~ The steps for using a separate domain to complete a transaction

 

~ Am I on the right track?

 

I have searched the forum, there seems to be many different ways people are doing this. I will try and summarise in a short tutorial. I might be able to work it out by reading more threads on the forum, but if anyone can give me a quick reply on how they are doing this and what they did to get it working it would help alot.

 

Thankyou.

Jo

Posted

How this is accomplished depends entirely on how your host has things set up - everybody does it just a bit differently. You might have two separate directories, one for http and one for https, or you could have one directory...or two linked together...there are many ways of doing it.

 

If you're using a shared ssl setup (where your host has a certificate and you don't buy your own) then you'll definitely need to talk to them and be careful with your configure.php files to get everything set up right.

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Posted

Thanks for the replies! I've resolved my questions through the host.

 

You're correct, it depends on how the hosting is setup. Since I can do multi-domain hosting I can get to all of my other accounts using the ~dir of the domain account my catalogs are setup in.

 

~dir = the directory created when I set up the domain account.

 

i.e.

 

http://www.domain.com/catalog

 

https://secure.ssldomain.com/~dir/catalog

 

Does that make sense?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...