Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies. Read More.
OK
Index  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear  •   • Reviews
New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear  •   • Reviews
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos Presentation & Building Galleries
Thread started 02 Aug 2017 (Wednesday) 04:14
Prev/next
sponsored links
(this ad will go away when you log in as registered member)

Cloudflare/CDN question re www

 
Dan ­ Marchant
Goldmember
Dan Marchant's Avatar
Joined Oct 2011
Where I'm from is unimportant, it's where I'm going that counts.
Aug 02, 2017 04:14 |  #1

My web host includes support for Cloudflare free package in their control panel.

Firstly I assume this is a good thing to have?

Secondly, when activated it pops up a message to the effect that "your site must be accessible via www" and offers to make this so if you choose to activate. My site was set up to be accessible without the www (https://danmarchant.co​m (external link) and http://danmarchant.com (external link)) with www.danmarchant.com (external link) redirected. I assume that the redirect = accessible for their purposes...

But my real question is, if someone visits the non-www version will that content still be coming from Cloudflare or should I actually disable the non-www/redirect to the www version?


Dan Marchant
Website/blog: danmarchant.com (external link)
Instagram: @dan_marchant (external link)
Gear Canon 5DIII + Fuji X-T2 + lenses + a plastic widget I found in the camera box.

LOG IN TO REPLY
Pekka
El General Moderator
Pekka's Avatar
17,238 posts
Gallery: 33 photos
Joined Mar 2001
Hellsinki, Finland
Post has been edited 3 months ago by Pekka with reason 'spellinmg'.
Aug 02, 2017 04:49 |  #2

Dan Marchant wrote in post #18417102 (external link)
My web host includes support for Cloudflare free package in their control panel.

Firstly I assume this is a good thing to have?

Cloudflare is most likely ok for those who need a simple DDos protection solution. What I do not personally like in it is that all traffic is routed via their CDN.

Secondly, when activated it pops up a message to the effect that "your site must be accessible via www" and offers to make this so if you choose to activate.

You should ask those from Cloudflare support, they have quite extensive help pages. Www could mean in that context only the protocol.

But my real question is, if someone visits the non-www version will that content still be coming from Cloudflare or should I actually disable the non-www/redirect to the www version?

I would redirect www to non-www (we do in POTN). If your site uses logins/sessions/cookie​s, allowing the two would require two logins for example.

Test all combinations of redirects: now a redirect from
http://www.danmarchant​.com (external link) redirects to https://www.danmarchan​t.com (external link) which gives cipher error in Chrome:
This site can’t provide a secure connection
www.danmarchant.com (external link) uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIP​HER_MISMATCH


The Forum Boss, El General Moderator
AMASS 1.4 Changelog (installed here now)

LOG IN TO REPLY
Dan ­ Marchant
THREAD ­ STARTER
Goldmember
Dan Marchant's Avatar
Joined Oct 2011
Where I'm from is unimportant, it's where I'm going that counts.
Post has been edited 3 months ago by Dan Marchant.
Aug 02, 2017 04:57 |  #3

Pekka wrote in post #18417122 (external link)
....What I do not personally like in it is that all traffic is routed via their CDN.

I thought that was the main point of a CDN. It serves the content from its global servers faster than if it came from your shared server in one geographic location.

Test all combinations of redirects: now a redirect from
http://www.danmarchant​.com (external link) redirects to https://www.danmarchan​t.com (external link) which gives cipher error in Chrome:
This site can’t provide a secure connection
www.danmarchant.com (external link) uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIP​HER_MISMATCH

Thanks for that think I managed to fix it (after completely breaking the whole site). :)


Dan Marchant
Website/blog: danmarchant.com (external link)
Instagram: @dan_marchant (external link)
Gear Canon 5DIII + Fuji X-T2 + lenses + a plastic widget I found in the camera box.

LOG IN TO REPLY

417 views & 0 likes for this thread
Cloudflare/CDN question re www
FORUMS Post Processing, Marketing & Presenting Photos Presentation & Building Galleries


Not a member yet? Click here to register to the forums.
Registered members get all the features: search, following threads, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, settings, view hosted photos, own reviews and more...


AAA

Send feedback to staff    •   Jump to forum...    •   Rules    •   Index    •   New posts    •   RTAT    •   'Best of'    •   Gallery    •   Gear    •   Reviews    •   Polls

COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies. Privacy policy and cookie usage info.

POWERED BY AMASS 1.4version 1.4
made in Finland
by Pekka Saarinen
for photography-on-the.net
Spent 0.00096 for 4 database queries.
PAGE COMPLETED IN 0.06s
Latest registered member is J4T4lyfe
757 guests, 278 members online
Simultaneous users record so far is 6106, that happened on Jun 09, 2016