Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie - SSL Domain Issues (main vs. sub domain)


Guest

Recommended Posts

My SSL certificate is installed/purchased on my main server (from Geotrust). My OSCommerce is installed on a sub-domain.

 

Am I going to have to copy all of the "protected" areas of the website over to the main domain or is there a work around? I tried resetting the config files but when I do I get an error immediately after I hit the save button. The subdomain works from the main domain (store.mydomain.com is also www.mydomain.com/store).

 

Im beginning to wonder if my host ever actually installed the cert.

Link to comment
Share on other sites

The cert only works for the domain it was purchased for. But it will work for sub-directories since they are in the same path. So if the cert was purchased for www.mysite.com, it will work for www.mysite.com as well as www.mysite.com/catalog (or whatever the directory is). If the certificate is installed, you can go to https://www.yoursite.com and it should work.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Jack,

 

The cert does work at https://mydomain.com. The problem with the subdirectory containing the cart files was that upon checkout, OSC went to https://mydomain.com/checkout_shipping.php (or something to that effect) instead of say, https://www.mydomain.com/store/checkout_shipping.php

 

The PHP files lie in the root of the subdomain, not the root of the primary where the cert is.

 

Ive since copied my files over to my hard drive, uninstalled the cart & subdomain and put everything in mydomain.com/store/

 

Doug

Link to comment
Share on other sites

The problem isn't with the cert then. The configure file isn't setup correctly. You need to fix that so that it points to the correct directory.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

The problem isn't with the cert then. The configure file isn't setup correctly. You need to fix that so that it points to the correct directory.

 

Jack

 

 

Jack,

 

I was receiving "fatal error" everytime I tried to direct to the proper url. I would hit "save" and it would instantly give me the error. When I went back in, nothing was changed. I tried a couple of times a couple of ways. I gave up on it.

 

Everything seems to work ok now that I moved my catalog to a folder of the main instead of in its own subdomain.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...