The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. How was cdn.seomoz.org configured?

    How was cdn.seomoz.org configured?

    Intermediate & Advanced SEO
    2 2 971
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mcglynn
      mcglynn last edited by

      The SEOmoz CDN appears to have a "pull zone" that is set to the root of the domain, such that any static file can be addressed from either subdomain:

      http://www.seomoz.org/q/moz_nav_assets/images/logo.png

      http://cdn.seomoz.org/q/moz_nav_assets/images/logo.png

      The risk of this configuration is that web pages (not just images/CSS/JS) also get cached and served by the CDN. I won't put the URL here for fear of Google indexing it, but if you replace the 'www' in the URL below with 'cdn', you'll see a cached copy of the original:

      http://www.seomoz.org/ugc/the-greatest-attribution-ever-graphed

      The worst-case scenario is that the homepage gets indexed. But this doesn't happen here:

      http://cdn.seomoz.org/

      That URL issues a 301 redirect back to the canonical www subdomain. As it should.

      Here's my question: how was that done?

      Because maxcdn.com can't do it. If you set a "pull zone" to your entire domain, they'll cache your homepage and everything else. googlebot has a field day with that; it will reindex your entire site off the CDN.

      Maybe the SEOmoz CDN provider (CloudFront) allows specific URLs to be blocked? Or do you detect the CloudFront IPs and serve them a 301 (which they'd proxy out to anyone requesting cdn.seomoz.org)?

      One solution is to create a pull zone that points to a folder, like example.com/images... but this doesn't help a complex site that has cacheable content in multiple places (do you Wordpress users really store ALL your static content under /wp-content/ ?).

      Or, as suggested above, dynamically detect requests from the CDN's proxy servers, and give them a 301 for any HTML-page request. This gets complex quickly, and is both prone to breakage and very difficult to regression-test.

      Properly retrofitting a complex site to use a CDN, without creating a half-dozen new CDN subdomains, does not appear to be easy.

      1 Reply Last reply Reply Quote 0
      • DiamondJewelryEmpire
        DiamondJewelryEmpire last edited by

        its a SEOmoz secret...

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • Referral Spam (trafficmonetize.org, 4webmasters.org, etc)
          PatrickDelehanty
          PatrickDelehanty
          0
          5
          2.1k

        • .COM or .ORG - Which is better?
          EGOL
          EGOL
          0
          4
          679

        • SEOMoz Manual
          KeriMorgret
          KeriMorgret
          0
          2
          197

        • SEOMOZ Diagram question
          matbennett
          matbennett
          0
          4
          440

        • Is SEOmoz.org creating duplicate content with their CDN subdomain?
          JoelDay
          JoelDay
          1
          4
          2.2k

        • SEOmoz recommended Directories
          SEODinosaur
          SEODinosaur
          0
          9
          1.4k

        • Did I do SEOmoz any justice?
          RyanKent
          RyanKent
          0
          7
          525

        • Amazon CloudFront CDN
          Cyrus-Shepard
          Cyrus-Shepard
          0
          7
          4.3k

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy