Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am not sure if this is a bug or I just don't understand completely.
I am using aegir.
I created a site
I created an aliases to the site:
js.site.com
css.site.com
media.site.com
I do not redirect.
I have also enabled filecache.
Now I notice that if i goto media.site.com a filecache entry is created.
In addition, cdn starts serving pages from media.sites.com instead of site.com.
Again I am not sure if this is just a misconfiguration on my part.
Any insight would be greatly appreciated.
Comments
Comment #1
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedComment #2
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedI don't know why this is happening:
3% of files served from http://media.site (7 files):
node/add/oa-space
sitemap
spaces
user/1/view
user/1/edit
user/logout
admin/structure/pages/nojs/operation/page/oa_sitemap/handlers/page_oa_sitemap_panel_context/content
Comment #3
Wim LeersWhat's that?
Files being served from "the CDN domains" indeed is possible when you are using plain CNAMEs and didn't configure your webserver properly, i.e. if you didn't configure your webserver to only serve Drupal from "the main CNAME".
Will be fixed in #1060358: CDN and SEO, which is exactly about preventing that. Therefore, marking this as a duplicate.