Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / SSL Certificate for domain with "www" OR without "www" ?

SSL Certificate for domain with "www" OR without "www" ?

Locked

Started by semenek on 27 Feb 2011, 7:31 PM · Views: 20,010

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
27 Feb 2011, 7:31 PM
#1
semenek avatar

semenek

New Zenner

Join Date:
Feb 2010
Posts:
33
Plugin Contributions:
0

Post #1 by semenek

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 https://www.yourdomainname.com **or ** yourdomainname.com

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

Please, help

27 Feb 2011, 11:01 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

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.

27 Feb 2011, 11:05 PM
#3
semenek avatar

semenek

New Zenner

Join Date:
Feb 2010
Posts:
33
Plugin Contributions:
0

Post #3 by semenek

Thanks!

8 Jun 2011, 10:50 PM
#4
jasonh1234 avatar

jasonh1234

New Zenner

Join Date:
Apr 2011
Location:
Vancouver, BC
Posts:
42
Plugin Contributions:
0

Post #4 by jasonh1234

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.

8 Jun 2011, 10:55 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #5 by dbltoe

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]

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jun 2011, 11:05 PM
#6
jasonh1234 avatar

jasonh1234

New Zenner

Join Date:
Apr 2011
Location:
Vancouver, BC
Posts:
42
Plugin Contributions:
0

Post #6 by jasonh1234

dbltoe:

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?

8 Jun 2011, 11:07 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #7 by dbltoe

Works for our clients. You should be fine if no strange settings reside at your host.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jun 2011, 11:08 PM
#8
jasonh1234 avatar

jasonh1234

New Zenner

Join Date:
Apr 2011
Location:
Vancouver, BC
Posts:
42
Plugin Contributions:
0

Post #8 by jasonh1234

dbltoe:

Works for our clients. You should be fine if no strange settings reside at your host.Awesome. Thanks so much for the speedy reply. Made my day. Thought I'd be waiting 24hours for a response here. ;-)

8 Jun 2011, 11:14 PM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,915
Plugin Contributions:
24

Post #9 by dbltoe

Don't expect the same speed if the mule's sick.:P

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com