• majorAlexa

        See all notifications

        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
        • 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.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          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.

          NEW Keyword Suggestions by Topic
          Moz Pro

          NEW Keyword Suggestions by Topic

          Learn more
        • 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

          Unlock flexible pricing & new endpoints
          Moz API

          Unlock flexible pricing & new endpoints

          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
        • 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. Home
        2. SEO Tactics
        3. Technical SEO
        4. Any way around buying hosting for an old domain to 301 redirect to a new domain?

        Moz Q&A is closed.

        After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

        Any way around buying hosting for an old domain to 301 redirect to a new domain?

        Technical SEO
        9
        17
        3611
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question management privileges can see it.
        • SamTurri
          SamTurri last edited by

          Howdy.

          I have just read this QA thread, so I think I have my answer. But I'm going to ask anyway!

          Basically DomainA.com is being retired, and DomainB.com is going to be launched.

          We're going to have to redirect numerous URLs from DomainA.com to DomainB.com. I think the way to go about this is to continue paying for hosting for DomainA.com, serving a .htaccess from that hosting account, and then hosting DomainB.com separately.

          Anybody know of a way to avoid paying for hosting a .htaccess file on DomainA.com?

          Thanks!

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

            If I am understanding correctly you want people to access DomainA.com when they go to DomainB.com? If this is the case, you could set up DomainB.com as a Domain Forward to DomainA.com.

            For instance a Client I have right now has www.drcharlescrane.com and www.drcharlescrane.net. Hosting is only set up for .com and we domain forward .net.

            You can also have this set up as a domain forwarding with mask so if you wanted the user would actually see in the URL domainb.com but pulling domaina.com's content.

            I hope this makes sense and if you need further clarification let me know. Also where is your domain registered. I use Godaddy primarily to the low costs for domains. Here is a how to domain forward provided by them and more information on the topic - http://help.godaddy.com/article/422

            1 Reply Last reply Reply Quote 0
            • AlanMosley
              AlanMosley @SamTurri last edited by

              DNS, resolves a name to a ip number,

              that ip number should route to your website. Inthe headers of the resquest is the domain name, your web site should be configured to accept either all requests on a ip number and port or filtered by host headers (domains names), add all teh host headers needed, then in htaccess 30 to the pirmary domain name.

              1 Reply Last reply Reply Quote 1
              • SamTurri
                SamTurri @AlanMosley last edited by

                Thank you Alan. Are you suggesting that via DNS records I have DomainA.com "live" in the same place as DomainB.com, and then host the .htaccess on DomainB.com's hosting space?

                So somebody requests DomainA.com, the DNS points to the hosting for DomainB.com, and then the .htaccess for DomainB.com can process the original DomainA.com request?

                AlanMosley 1 Reply Last reply Reply Quote 0
                • SamTurri
                  SamTurri @waqid last edited by

                  Thanks, but does this help with 301s for inner pages?

                  1 Reply Last reply Reply Quote 0
                  • sesertin
                    sesertin @AlanMosley last edited by

                    I had just the same experience. It was only one occasion but I did nothing more to the site then putting it under a new account on my shared hosting, so only the last digit of the ip has changed. I saw a drop in rankings however the original I gained back the original rankings a few weeks later.

                    1 Reply Last reply Reply Quote 0
                    • AlanMosley
                      AlanMosley @sesertin last edited by

                      I cant say it does, but when I changed ips i had a drop in rankings. But i cant prove it was the change in ip
                      but there is some logic to it,
                      A domain name is resolved to a ip address to find the website, the domain name is sent in the header. Your web site accepts a connection on a socket, ip number and port 123.123.123.123:80, it then looks in the header for the domain name
                      so a SE will see a difference, it will know this is not the same address

                      sesertin 1 Reply Last reply Reply Quote 0
                      • PPCnSEO
                        PPCnSEO @sesertin last edited by

                        100% disagree.

                        Most of the biggest websites in the world use DNS load balancing which will change the IP address of the server every request.

                        301 redirects lose a small amount of juice but IP changes don't.

                        Hosting changes don't (assuming no errors or outages).

                        Who-is changes do, but that is not relevant here.

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

                          1. you need to make a change to your DNS settings.

                          where every you registered your domain, you ned to change your Arecord to point at the correct ip number

                          2. you need to do a 301 redirect to primary domain.

                          SamTurri 1 Reply Last reply Reply Quote 1
                          • waqid
                            waqid last edited by

                            If you have Cpanel here are the instructions. For godaddy or plesk call your host and tell them what you are trying to do.

                            Log into where you purchased domain A and forward it to the name servers at B's hosting. Then go into B Cpanel and click on add on domains. Add your domain. Once the domain has been added go to domain redirects and redirect your old domain to new.

                            For type choose permanent 301

                            Choose the domain you want to redirect from the drop down. Next manually type in your new domain name where it says "redirects to".

                            SamTurri 1 Reply Last reply Reply Quote 0
                            • waqid
                              waqid @sesertin last edited by

                              I think I disagree as moving site A's hosting to a new ip causes a drop in rankings.

                              Never heard about this before. I think this is not true, i have chagned IP's in the past without any consequences.

                              1 Reply Last reply Reply Quote 1
                              • N5c
                                N5c last edited by

                                You shouldn't have to continue to pay for hosting for the site you are getting rid of, just keep renewing the domain name and then 301 it to the new site and you should be fine.

                                1 Reply Last reply Reply Quote 0
                                • SamTurri
                                  SamTurri @EGOL last edited by

                                  Thank you. I'm actually not understanding. How do I Park A on B. What is "explicit .htaccess"?

                                  1 Reply Last reply Reply Quote 0
                                  • EGOL
                                    EGOL @sesertin last edited by

                                    There is no penalty or loss for changing an IP address. There are many legitimat reasons for doing that. IP changes often occr when your host moves your site to a different server, or, when you upgrade your hosting package, or move to a different hosting service. No worries at all about new IPs.

                                    1 Reply Last reply Reply Quote 2
                                    • cfguti
                                      cfguti last edited by

                                      The .htaccess that have the information about the A domain is inside B hosting, so, you don't need anymore A hosting when you do all the redirections.

                                      I think this post can help:

                                      http://searchenginewatch.com/article/2067216/The-10-Step-Site-Migration-Process

                                      bye

                                      1 Reply Last reply Reply Quote 2
                                      • sesertin
                                        sesertin last edited by

                                        Egol has usually got great answers that woths linstening to, this time however I think I disagree as moving site A's hosting to a new ip causes a drop in rankings. Put the redirection on top of that and you get some more fallback. I think in the above case I would not change the hosting but do the redirect and wait for google to notice the change. Maybe a few months later I would give up site A's original hosting and migrate it to site B's hosting to be able to keep the original urls live for some more time.

                                        EGOL waqid PPCnSEO AlanMosley 4 Replies Last reply Reply Quote -2
                                        • EGOL
                                          EGOL last edited by

                                          Park A on B and redirect with explicit .htaccess.

                                          SamTurri 1 Reply Last reply Reply Quote 4
                                          • 1 / 1
                                          • First post
                                            Last post

                                          Browse Questions

                                          Explore more categories

                                          • Moz Tools

                                            Chat with the community about the Moz tools.

                                          • SEO Tactics

                                            Discuss the SEO process with fellow marketers

                                          • Community

                                            Discuss industry events, jobs, and news!

                                          • Digital Marketing

                                            Chat about tactics outside of SEO

                                          • Research & Trends

                                            Dive into research and trends in the search industry.

                                          • Support

                                            Connect on product support and feature requests.

                                          • See all categories

                                          Related Questions

                                          • alstam

                                            301 redirect from dynamic url to static page

                                            Hi, i want to redirect from this old link http://www.g-store.gr/product_info.php?products_id=1735/ to this one https://www.g-store.gr/golf-toualetas.html I have done several attempts but with no result. I anyone can help i will appreciate. My website runs in an Apache server with cpanel. Thank you

                                            Technical SEO | | alstam
                                            0
                                          • snorkel

                                            1000 Pages on old website. What to do with the 301 redirects for this domain?

                                            Hi Moz Community, I have a 301 redirect question... I just acquired an old domain: Totally in my niche Domain is 14 years old Website exists of 1000 pages Great amount of backlinks Website is offline since about 2 weeks Will place a new website online asap with new url structure For the 50 best scoring pages I wrote a new, but fully comparable/related article. I will put a 301 redirect from those old to the new pages. My question: What to do with the 950 other url's? Should I put a 301 redirect to the homepage? Should I forward those pages to the 404 page? Should I divide the 950 url's with a 301 redirect to the 50 new ones? Another solution maybe? Any idea what would be the best solution so we can save as much Google juice as possible? Thanks in advance!

                                            Technical SEO | | snorkel
                                            0
                                          • SDSLaw

                                            Questions about the Sandbox and 301 Redirects

                                            Does the sandbox still exist?  What if you have a brand new URL and do a 301 redirect from another website because the name of the service business changed? Thanks for any insight and help.

                                            Technical SEO | | SDSLaw
                                            0
                                          • TroyW

                                            301 Redirect with index.asp

                                            I am very new to all of this so forgive the newbie questions I will get better.   Ok so after starting a campaign I see that I have many issues including where some pages are being deemed as duplicate content. 1. The report says the http://lucid8.com has duplicate content on 2 other pages 2. When I look at them it shows that http://lucid8.com/index.asp and http://www.lucid8.com are duplicates. 3. Really these are the exactly the same page because the default page that is opened for www.lucid8.com http://www.lucid8.com etc always opens the index.asp page. 4. Now I read that I should do permanent redirects and how to do this via IIS and I tried to do a redirect from index.asp to www.lucid8.com but that does not work because www.lucid8.com is pointing to index.asp and so we end up in a circle. So the question is how do I get rid of these duplicate page references without causing problems. Thanks

                                            Technical SEO | | TroyW
                                            0
                                          • kellymandingo

                                            301 Redirect How Long until the juice passes through to new site

                                            Hi Guys, Following on from a question i asked last week in regard to a 301 http://www.seomoz.org/q/301-redirect-have-no-ranking I was thinking that i had some kind of issue on the site, although i have gone over it with a fine tooth comb i cannot find any issue's and from the amount of reads the thread has had im sure if there was something obvious it would have been pointed out. So i am quite confident the 301 from site A to site B is fine and working as intended, so my question is how long should it take until the juice is passed From site A to Site B as its 9 weeks now and still down 85% on traffic and even text for my home page if copied into the search bar don't bring up my site Bing is fine and did not see any real traffic drops but Google is not giving me back the rankings i had prior Whenever i have done a 301 before the rankings pretty steady and i see no real loss in rankings but this time ... painful all changes in WMT made
                                            Canonical tag implemented
                                            all Pages 301 and correct 200 response from the targeted page
                                            Sitemap Updated
                                            Many Links Changed from Old site to new (including DMOZ)
                                            no Robots text Blocking directory's 
                                            Google crawling freely and regularly The strange thing is New content is indexed immediately and ranks easily, I added a page for my service in my local area and went straight to position 5 in Google however old existing content wont move, I tracked 150 keywords only 4 are top 75 Don't know what else to do  so any advice would be much appreciated PS site is around 17k pages Paul

                                            Technical SEO | | kellymandingo
                                            0
                                          • Artience

                                            301 Redirect & Cloaking

                                            HEllo~~~~ People. I have a question regarding on cloaking. I will be really greatful if you can help me with question. I have a site www.example.com and it is targeting for multi countries. So I use sub directories for targeting multi countries. e.g. www.example.com/us/ www.example.com/de/ www.example.com/hk/ ....... so on and on. Therefore, when people type www.example.com, I use IP delivery to send users to each coutries. Here is my question. I use 301 redirect for IP delivery, which means when user enter www.example.com, my site read user's IP and send them to right country site by 301 redirect. In this case, is there any possibility that Google considers it as cloaking? Please people.... share me some ideas and thoughs.

                                            Technical SEO | | Artience
                                            0
                                          • Grenadi

                                            How to 301 multiple domain names to a single domain

                                            Hey, I tried to find and answer to this seemingly simple question, but no luck. So, I have one domain name with a website attached to it. I also registered all the other domain names that are similar to it or have different extensions - I want to redirect all the other domain names to my one main domain name without getting penalised by the big G. It looks like this: www.mainsite.com - this is my main domain I also have www.mainsite.com.au, www.mainsite.org, and www.mainsite.org.au which I all want to just redirect to www.mainsite.com I have been told that the best way to do this is a 301 redirect, but to do that you need to make a CNAME for all the other domains that points to www.mainsite.com. My problem is that I cannot seem to create a CNAME record for http://mainsite.com - I have it working for http://www.mainsite.com but not the non www record. What should I be doing differently? Is it just my DNS provider is useless? Thanks, Anthony

                                            Technical SEO | | Grenadi
                                            0
                                          • Weerdboil

                                            Delete old site but redirect domain to a new domain and site

                                            I just have a quick query and I have a feeling about what the answer is so just wanted to see what you guys thought... Basically I am working on a client site. This client has a few other websites that are divisions of their company. However these divisions/websites are no longer used. They are wanting to delete the websites but redirect the domains to their name main website. They believe this will pass on SEO benefits as these old division sites are old and have a good PR and history. I'm unsure for DEFINITE, which way is correct?

                                            Technical SEO | | Weerdboil
                                            0

                                          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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                          • Accessibility
                                          • Terms of Use
                                          • Privacy

                                          Looks like your connection to Moz was lost, please wait while we try to reconnect.