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. Amazon CloudFront CDN

    Amazon CloudFront CDN

    Intermediate & Advanced SEO
    7 3 4.3k
    • 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.
    • Max84
      Max84 last edited by

      Hi,

      I'd like to increase website's speed with Amazon CloudFront CDN.

      I created some CNAMEs and i've something like this:

      • www.mydomain.com (my website)
      • cdn1.mydomain.com
      • cdn2..mydomain.com
      • cdn3.mydomain.com

      But i've a lot duplicate content now ! One per subdomain and one per content (gif, css, html, and so one).

      Have you any feedback in order to not have SEO penalty ?

      Does Google detects CDN ? Can I help him to understand my CDNs ?

      Thanks,

      Best regards,

      Maxime

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

        Tomorrow morning (Seattle time) I'll be posting a YouMoz blog post at http://www.seomoz.org/ugc that deals directly with setting up a CDN on Amazon. You can read through the steps given in the article and see if that answers your questions, and if not, you can ask a question in the comments.

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

          Here's the YouMoz post that might help.

          http://www.seomoz.org/ugc/improving-page-speed-with-amazon-web-services-a-beginners-guide

          Max84 1 Reply Last reply Reply Quote 0
          • Max84
            Max84 @KeriMorgret last edited by

            Great post, but he didn't talk about duplicate content, only increasing speed.

            KeriMorgret Max84 2 Replies Last reply Reply Quote 0
            • KeriMorgret
              KeriMorgret @Max84 last edited by

              Did the author's reply in the comment of the blog post answer your question, or do you still have this question?

              1 Reply Last reply Reply Quote 0
              • Max84
                Max84 @Max84 last edited by

                I think he didn't reply.

                He store data onto Amazon S3 and serves pictures from CDN (Amazon CloudFront). So he told me he hasn't duplicate content issues because he serves pictures.

                But he tolds too "This isn't an issue for duplicate content, unlike if you were replicating your HTML".

                When you use Amazon CloudFront without Amazon S3, but you use it with your webserver, Amazon CloudFront duplicates all content (pictures, pages, ...).

                Onto your website, you'll only link pictures to CDN, for example http://cdn1.test.com/picture.jpg. But if GoogleBot opens http://cdn1.test.com/ it'll find all your html content !

                So it'll be a duplicate issue I think, and I don't really know what is the best way to fix that (not use Amazon CloudFront without Amazon S3, Canonical, http headers, ...)

                Thanks

                1 Reply Last reply Reply Quote 0
                • Cyrus-Shepard
                  Cyrus-Shepard last edited by

                  Hi Max,

                  As you know, SEOmoz uses a CDN (Content Delivery Network) to host our static content. This greatly improves the load time of our pages by distributing our content across a cloud network, and results in an improved experience for users.

                  If I understand your question correctly, you have set up a CDN and have created duplicate content issues.

                  To solve this, it's important to set up your CDN only to serve static content, like images, stylesheets and javascript. That is what a CDN is designed for. Do not duplicate your entire site - your HTML - as this will cause duplicate content issues.

                  If for some reason you need to replicate your entire HTML, then there are some steps you can take to mitigate the damage, although it's going to depend on your exact circumstances.

                  For example, you can set full URL canonical tags so that all your mapped CNAMES point to your primary URL.

                  To revert back to one copy of your HTML, you might want to put 301 redirects in place on the duplicated content (pointing to the original) before removing them from the CDN.

                  But even these aren't ideal solutions. It's best just to serve your static content, and only one version of your HTML.

                  1 Reply Last reply Reply Quote 3
                  • 1 / 1
                  • First post
                    Last post
                  • Is it possible to compete on keywords with Amazon?
                    EGOL
                    EGOL
                    0
                    3
                    58

                  • Will using CDN Affect SEO?
                    TimHolmes
                    TimHolmes
                    0
                    3
                    92

                  • Good CDN
                    BlueprintMarketing
                    BlueprintMarketing
                    1
                    8
                    286

                  • Will Amazon outrank our Online Store?
                    Chris661
                    Chris661
                    0
                    8
                    188

                  • Google not Indexing images on CDN.
                    alphonseha
                    alphonseha
                    0
                    3
                    940

                  • Using a US CDN (Cloudflare) for a UK Site. Should I use a UK Based CDN as it says my server is based in USA
                    proinity
                    proinity
                    0
                    5
                    652

                  • Ecommerce question - Should I use a CDN for my images. ?
                    Bio-RadAbs
                    Bio-RadAbs
                    0
                    4
                    1.6k

                  • Mystery: Ranking in Amazon for a product page?
                    0
                    1
                    245

                  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