Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Posts
    33
    Plugin Contributions
    0

    Idea or Suggestion SSL Certificate for domain with "www" OR without "www" ?

    Hello, I bought SSL certificate from my hosting webhostingpad.com

    and they are telling me that I should decide should it work for domain with "www" or without.

    Does it make any difference?

    This is letter from hosting:

    Your SSL will work in certain ways.

    Your SSL is will be ordered for www.yourdomainname.com or yourdomainname.com


    If you ask us to make certificate for www.yourdominname.com, your ssl will not work when you use yourdomainname.com and vice versa.

    Please, help

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: SSL Certificate for domain with "www" OR without "www" ?

    Well, first, it's up to *you* to decide how you wish to do it. Just be sure that you set the HTTP_SERVER and HTTPS_SERVER settings in your configure.php files accordingly.

    Second, the more reputable SSL certificate issuers will allow BOTH the "www" and non-www versions in the SAME certificate, for no extra charge.

    If your store is already set up so that when you click any of the links to your products it uses the "www" version, then tell your hosting company to choose that when they're creating their CSR pieces for the SSL request.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2010
    Posts
    33
    Plugin Contributions
    0

    Default Re: SSL Certificate for domain with "www" OR without "www" ?

    Thanks!

  4. #4
    Join Date
    Apr 2011
    Location
    Vancouver, BC
    Posts
    40
    Plugin Contributions
    0

    Default Re: SSL Certificate for domain with "www" OR without "www" ?

    According to this documentation here

    https://www.zen-cart.com/tutorials/index.php?article=14

    "IT IS RECOMMENDED THAT YOU REGISTER IT TO YOUR "www." address, such as www.your_site.com (and not just "your_site.com")"

    My cert. didn't come for both with the www and for the naked domain. My provider now tells me that in order to get the www as SSL I'd need to delete the current cert. from my domain and purchase a new one for use WITH the www.

    How bad exactly IS it to run with the naked domain? I don't want to have to buy another cert. What could potentially go wrong? What is the basis for the recommendation given in that documentation?

    This is one of the last steps for this client website and I really need to get this done asap as I'm behind schedule. Any insight would be appreciated.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: SSL Certificate for domain with "www" OR without "www" ?

    Just use the .htaccess file to redirect all www traffic to the non-www.

    Something Like :


    Options +FollowSymlinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www.yoursite.com$
    RewriteRule ^/?$ "http\:\/\/yoursite\.com" [R=301,L]
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Apr 2011
    Location
    Vancouver, BC
    Posts
    40
    Plugin Contributions
    0

    Default Re: SSL Certificate for domain with "www" OR without "www" ?

    Quote Originally Posted by dbltoe View Post
    Just use the .htaccess file to redirect all www traffic to the non-www.
    Wow. That was a FAST reply. :-) Yup done that.
    So as long as my config php files reference the naked domain everything will be fine?

 

 

Similar Threads

  1. Problem with my URL with or without "www"
    By Pabloalve in forum General Questions
    Replies: 0
    Last Post: 17 Sep 2010, 12:02 PM
  2. Replies: 14
    Last Post: 21 Sep 2009, 11:59 PM
  3. Replies: 5
    Last Post: 11 Sep 2009, 04:51 AM
  4. Problems when accessing site without "www"
    By geekette in forum General Questions
    Replies: 1
    Last Post: 15 Jan 2008, 07:24 PM

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