CDN domains can be added by a constant
Make domain mapping multisite aware. Fixes #1