Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Attend MozCon
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Track your brand’s footprint in AI search
      Moz Pro

      Track your brand’s footprint in AI search

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      Let your business shine with Listings AI

      Let your business shine with Listings AI

      Get found
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Access 20 years of data with flexible pricing
      Moz API

      Access 20 years of data with flexible pricing

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Attend MozCon
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    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. Technical SEO Issues
    4. 301 Re-direct help

    301 Re-direct help

    Technical SEO Issues
    5 3 93
    • 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.
    • Prime85
      Prime85 last edited by

      Hello Mozzers,

      I have a technical question that perhaps someone has experience with and can help with.

      I currently have 2 e-commerce websites:

      SITE-A.COM (original site) & SITE-B.COM (new site)

      SITE-B.COM is the newer site that has a lot of new products and new features and great content and is very user friendly.

      We are thinking about funneling all of our visitors and traffic to SITE-B.com since it is the better experience for the users ...

      the question is this:

      If we want to 301 redirect all traffic from Site-A.com to Site-B.com ... where do we initiate those redirect requests?  Would it be on the server for Site-A.com?  If so, would i have to keep that server up and running forever if i don't want to lose the re-directs?  Also, how do i do this properly without violating Google's guidelines?

      Any help is appreciated.

      Thanks

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

        Hi

        From my understanding of above, SiteA and SiteB are setup on separate servers and I appreciate you won't want to be running two servers for the sake of keeping redirects alive. Firstly, I would recommend making sure you have a full and up to date backup of the sites.

        Server 1: 
        Setup 301 redirects for everything from DomainA > DomainB

        Server 2:
        Create the Addon Domain entry for DomainA to point to DomainB
        Setup 301 redirects for everything from DomainA > DomainB

        Now change the nameservers for DomainA from Server 1 > Server 2.

        • At this stage, you may experience some downtime whilst the domain propagates but because everything is setup and ready, any downtime should be minimal.

        Once the domain has fully propagated, verify in Server 1 stats that the server is no longer receiving requests for that Domain to serve data and that all requests are being served from Server 2. <--- On confirmation of this, you can then go ahead and delete all data from Server 1 and shut it down.

        Now everything is being served from Server 2. Monitor for any new 404 errors that may occur, in case you missed out redirecting any content and get these fixed with redirects as soon as possible.

        Providing the structure of the URLs is the same, you shouldn't really encounter any 404 errors and from this point on, the 301 redirects only serve the purpose of maintaining any link juice from backlinks and ensuring your customers who are finding your site through referral links are landing on the correct pages. - If a user visits your site by entering the domain directly, the server will automatically direct them from DomainA to DomainB and from that point on, clicking any links within the site should keep the user on DomainB without having to perform redirects.

        Then head over to Google Console and in the configuration tab for your site, there will be an option to notify Google about the "Change of Address" - complete this section.

        Finally, to avoid any confusion from your customers I would recommend releasing a notice of some kind to inform your visitors that you have migrated to the new site.

        I hope this information is helpful to you and of course if you have any questions at all, feel free to get in touch.

        I hope you have a Great Christmas & a Happy New Year.

        Best Regards

        Ajaz

        Prime85 2 Replies Last reply Reply Quote 1
        • Prime85
          Prime85 @AjazMozPro last edited by

          Thank you so much for the detailed explanation.

          I will check this out and get back to you with any questions or to report how this worked.

          Thanks again - Happy Holidays!

          1 Reply Last reply Reply Quote 0
          • Prime85
            Prime85 @AjazMozPro last edited by

            Actually, just for clarification:

            Both domain names are registered at GoDaddy

            Both domain-A & domain-B are hosted at Nexcess (on separate servers)

            You wrote: “Now change the nameservers for DomainA from Server 1 > Server 2.”

            Do you mean by that… to point both Domain names to the same name server that Domain-B is on?

            Thanks again

            regal_kyle 1 Reply Last reply Reply Quote 0
            • regal_kyle
              regal_kyle @Prime85 last edited by

              Not sure if this is the way it should exactly be handled, but here are some thoughts for consideration:

              1. I'd consider pointing IP address of domain-A to IP address of domain-B, then set up a general 301 domain redirect for domain-A -> domain-B and then do 301 redirects per URL from domain-A to domain-B as applicable/relevant. The redirects would be setup to be managed on domain-b, as domain-a would be pointing to domain-b's server.

              2. Since you're effectively "changing site address" here, so you'd want to ensure you have both sites and all versions setup in GSC (domain-a.com, www.domain-a.com, https://domain-a.com, https://www.domain-a.com domain-b.com, www.domain-b.com, etc., etc.) and then initiate a change of address for domain-a.com to go to domain-b.com.

              Cheers

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • URL 301 Re-direct
                Trymybest
                Trymybest
                1
                4
                65

              • To 301 or not to 301?
                iHasco
                iHasco
                1
                4
                70

              • I know I'm missing pages with my page level 301 re-directs. What can I do?
                Dr-Pete
                Dr-Pete
                0
                4
                214

              • 301 permanent re-direct
                GeorgeAndrews
                GeorgeAndrews
                0
                8
                265

              • Penguin 301 Re-Direct
                brightonseorob
                brightonseorob
                0
                4
                351

              • 301 Re Direct Question for www
                anoopbal
                anoopbal
                0
                7
                570

              • Is it possibly to use anything besides a 302 re-direct when your doing a re-direct for someone to login?
                kateG1298
                kateG1298
                0
                3
                549

              • Re-direct issues
                Doc_Sheldon
                Doc_Sheldon
                0
                4
                940

              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

              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