Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Shared SSL and Subdomain

    We normally set up our sites like:
    www.customer.com
    and shared ssl would be https://secure.ourmainsite.net/~customer

    But I have a site more like this:
    zencart.customer.com
    and I thought the shared ssl would be
    https://secure.ourmainsite.net/~customer/zencart/

    That URL accesses to correct files, but the CSS is missing so it's a white page with black text and default blue links and broken images.

    I noticed the images are trying to pull from https://zencart.customer.com

    Does anyone know how I can work around this problem?

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Shared SSL and Subdomain

    and I thought the shared ssl would be
    https://secure.ourmainsite.net/~customer/zencart/
    That should be a correct URL.


    I noticed the images are trying to pull from https://zencart.customer.com
    That would be from either or both, of your 'config' files. Check both to make sure the SSL line for the site uses:

    https://secure.ourmainsite.net/~customer/zencart/

  3. #3
    Join Date
    Mar 2006
    Location
    Fresno, California
    Posts
    620
    Plugin Contributions
    0

    Default Re: Shared SSL and Subdomain

    I have seen this before.

    It is usually because you are on a shared server and the box you are on is overloaded with others using a shared SSL. Sometimes all the documents do not load, particularly the css.

    Bottom line, get a dedicated IP and your own SSL. That will solve it.

  4. #4
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: Shared SSL and Subdomain

    Quote Originally Posted by bobdog View Post
    I have seen this before.

    ...Bottom line, get a dedicated IP and your own SSL. That will solve it.
    I work for a company that has a dedicated server, but we host multiple accounts on it. We host several zencarts with the shared SSL, and never have a problem with it. This one is different because I am trying to use a subdomain. I think the problem is getting zencart request the css and images from the correct directories.

    I'll post a solution if I find one, because someone else might need it.

  5. #5
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Shared SSL and Subdomain

    There are two ways of setting up subdomains.

    One way is to set it up as if it were a full domain and it would have the address: http://zencart.customer.com and this would require its own full ssl certificate.

    The other way is to set it up as a pure Sub Domain which answers to the address http://zencart.customer.com but the files for it are in the customer.com/zencart folder. Or, if your site files are normally in the /var/www/html/ folder, the sub-domain files would be in the /var/www/zencart/ folder. Your Shared SSL would work for the pure Sub Domain method.

    Vger

  6. #6
    Join Date
    Feb 2005
    Posts
    246
    Plugin Contributions
    0

    Default Re: Shared SSL and Subdomain

    Quote Originally Posted by TecBrat View Post
    I'll post a solution if I find one, because someone else might need it.
    Thanks for the suggestions.

    assuming zencart.customer.com is actually customer.com/zencart and https://secure.ourmainsite.net/~customer is the ssl of customer.com:

    What I had to do was set the HTTPS_SERVER to https://secure.ourmainsite.net/~customer

    and
    DIR_WS_HTTPS_CATALOG to
    /zencart/

    and simlar in both configuration files.

 

 

Similar Threads

  1. Can I install and configure SSL without using a subdomain?
    By Pithecanthropus in forum General Questions
    Replies: 2
    Last Post: 21 Jul 2011, 07:27 AM
  2. shared ssl and links
    By athena in forum Basic Configuration
    Replies: 15
    Last Post: 22 Jul 2009, 09:36 PM
  3. Hostmonster and shared SSL problem
    By GoldBuckle in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 9 Jul 2009, 08:59 PM
  4. Using HostGator and Shared SSL, Secure and Unsecure Items?
    By daxxruckus in forum Basic Configuration
    Replies: 14
    Last Post: 30 Dec 2008, 08:01 AM
  5. Shared SSL and JROX
    By aalm in forum General Questions
    Replies: 4
    Last Post: 23 Oct 2008, 09:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR