Closed (fixed)
Project:
Parallel
Version:
6.x-1.0-beta2
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2010 at 00:24 UTC
Updated:
3 Feb 2011 at 11:10 UTC
Instead of using cdn1.domain.com, cdn2.domain.com, cdn3.domain.com, what if I used a different domain like img_domain.com? I see multiple benefits.
1. I will get all the benefits of parallel
2. img_domain can be served by a different server if I wish like lighhttpd or ngix etc and can reduce the load on apache.
3. I can serve this domain cookie free further improving network to and fro traffic.
Any thoughts?
Comments
Comment #1
mikeytown2 commentedYou can do this, I know people who do use it this way. You have to be certain that all files are on that domain though. So a pull CDN works great in this situation, or just make sure both web servers point to the same dir & make sure lighttpd or nginx has the correct permissions (so no one can read your settings.php file).
Comment #2
ajayg commentedThanks for pointing about the correct permission. I have never thought about that. You just saved me from a big potential security risk. Looks I will need something very similar to .htaccess file for whatever server I choose to use.
Since you metioned you know some people use this way, either they or you or someone else can please provide more details about how to set this up?
Comment #3
ball.in.th commentedsubscribing. interested in the proper way to set up nginx also.
Comment #4
okokokok commentedIf you simply ditch Apache and go for nginx+php-fastcgi it's already set up properly!
Otherwise you can add something like
Comment #5
wim leers