PHP: $config['cookie']['domain'] = '<example.com>'; // this is so cookies are available on every sub-domain $config['tckRouteOnSubdomain']['primaryHost'] = '<example.com>' // this is to differentiate real host vs. route ;

config.php