I was wondering if anybody could help me out.. Here is a site with 2 languages ("a" and "b") and the language detection method is based on domains so the 2 languages available on different domains: a.com and b.com.
I would like to map the files with the CDN module to cdn.a.com if the site's language is "a" and map the files to cdn.b.com in case the site"s language is "b". How is it possible?

Comments

kepesv created an issue. See original summary.

Wim Leers’s picture

Status: Active » Postponed (maintainer needs more info)

Why do you want this? Is it purely cosmetic?

kepesv’s picture

2 languages runs on different brand names and the brand name is the domain.. I don't want to make clear the relationship between the sites.
I know that I could choose a third domain name or keep the ID.cloudfront.net name but it would be more professional if I could make different mapping to different languages.

Wim Leers’s picture

Status: Postponed (maintainer needs more info) » Fixed

Use https://www.drupal.org/project/domain:

Domain Configuration -- Allows you to change select system variables for each subdomain, such as offline status, footer message and default home page.

Wim Leers’s picture

Title: language based CDN mapping » Multisite: domain-based CDN mapping
Wim Leers’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.