Does anyone know how I might programmatically discover the current page's full address. We share our codebase accross several clients in subdomains and I am trying to discover which client is viewing the page in order to load appropriate CSS, eg. red.website.com; blue.website.com; (I am looking to grab the red or blue, in my code).
Many thanks. Apologies for the poor wording.