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
      • SEO Q&A
      • 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.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      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
    • 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. Intermediate & Advanced SEO
    4. Moving site from www to non www and also hosting to vps what will be the effect?

    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.

    Moving site from www to non www and also hosting to vps what will be the effect?

    Intermediate & Advanced SEO
    shared hosting to vps www to non www
    7
    7
    4393
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • SeoBlogs61
      SeoBlogs61 Banned last edited by

      Hi SEO gurus,
      I am trying to move my site from shared hosting to VPS hosting and also moving from www to non www version.
      What is the best possible way to avoid any issue and without losing the backlinks.
      Is it good or bad to do? URL: https://buylikesservices.com/

      Tom.Capper 1 Reply Last reply Reply Quote 0
      • webduh
        webduh last edited by

        https://www.interserver.net/r/703604

        1 Reply Last reply Reply Quote 0
        • suicidetram
          suicidetram Banned last edited by

          Private hosting is better but it comes more expensive

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

            I have a website The Tourist Spot, earlier it was indexed with a non-www version but later I got it redirected to the www version. But when check my indexed pages on google, I find that I have both versions of the website indexed. Now I want to remove the non-www version. I tried to remove using the console but there was a notification that if I submit to delete page then all versions will be removed from google for the next 6 months. Now I need help to remove/deindex the non-www version. Anyone help me, please?

            1 Reply Last reply Reply Quote 0
            • Matt.mm
              Matt.mm last edited by

              To have a unique domain structure, you should redirect www to nonwww using 301 redirect as other members said too. And regarding changing your webhosting, the best way is to migrate your website content at first and when everything was ready at your new hosting, then change nameservers of your domain through the control panel of your domain, In this case your website faces least downtime. Changing hosting only changes the IP of your website and search engines understand it and its a normal procedure for almost all websites to change their webhosting. So only try to do it with lowest possible downtime.

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

                Why take the risk? Having your site load with the www doesn't hurt you. It's not as if the site will perform better without the www and if your site is configured properly your site will load no matter how you have that part of it set.

                Google views www.domain.com as a different site from domain.com. You can mitgiate your risk by doing 301 redirects from your www site to your non www but there is always going to be some amount of risk and the potential to see a temporary dip while Google figures out what just happened. Not sure I see enough benefit in making the move to warrant changing it.

                1 Reply Last reply Reply Quote 1
                • Tom.Capper
                  Tom.Capper Subject Expert @SeoBlogs61 last edited by

                  @seoblogs61 Hey, sorry for the super slow reply.

                  Hosting shouldn't matter unless it changes the URLs (any further than you're deliberately changing them).

                  Moving from www to non www means you need to make sure there is a 1:1 mapping of old to new URLs as 301 redirects. This may be possible using a server config rule.

                  Be aware that any URL migration comes with SEO risks. The 301 redirects in theory will carry across most of the value of your backlinks, but there may be delays in Google understanding the new relationship, or a slight dilution, or some technical hitch which causes some URLs to not be caught by your rule.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  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

                  • Voopoo

                    Can access my site using www

                    www to non www ssl

                    Hello, when I try to access my website using www i would like it to redirect to non www but instead it shows a sal error message.

                    On-Page Optimization | | Voopoo
                    2
                  • NeatIT

                    6 .htaccess Rewrites: Remove index.html, Remove .html, Force non-www, Force Trailing Slash

                    i've to give some information about my website Environment 1. i have static webpage in the root. 2. Wordpress installed in sub-dictionary www.domain.com/blog/ 3. I have two .htaccess , one in the root and one in the wordpress
                    folder. i want to www to non on all URLs Remove index.html from url Remove all .html extension / Re-direct 301 to url
                    without .html extension Add trailing slash to the static webpages / Re-direct 301 from non-trailing slash Force trailing slash to the Wordpress Webpages / Re-direct 301 from non-trailing slash Some examples domain.tld/index.html >> domain.tld/ domain.tld/file.html >> domain.tld/file/ domain.tld/file.html/ >> domain.tld/file/ domain.tld/wordpress/post-name >> domain.tld/wordpress/post-name/ My code in ROOT htaccess is <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews RewriteEngine On
                    RewriteBase / #removing trailing slash
                    RewriteCond %{REQUEST_FILENAME} !-d
                    RewriteRule ^(.*)/$ $1 [R=301,L] #www to non
                    RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?domain.com)$ [NC]
                    RewriteRule .? http://%1%{REQUEST_URI} [R=301,L] #html
                    RewriteCond %{REQUEST_FILENAME} !-f
                    RewriteCond %{REQUEST_FILENAME} !-d
                    RewriteRule ^([^.]+)$ $1.html [NC,L] #index redirect
                    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
                    RewriteRule ^index.html$ http://domain.com/ [R=301,L]
                    RewriteCond %{THE_REQUEST} .html
                    RewriteRule ^(.*).html$ /$1 [R=301,L]</ifmodule> The above code do 1. redirect www to non-www
                    2. Remove trailing slash at the end (if exists)
                    3. Remove index.html
                    4. Remove all .html
                    5. Redirect 301 to filename but doesn't add trailing slash at the end

                    Intermediate & Advanced SEO | | NeatIT
                    0
                  • RWW

                    Will obfuscating HTML have a bad effect on my ranking?

                    I would like to obfuscate my HTML so that people do not see that I used a Template on my site. Does obfuscating HTML have a bad effect on the ranking in google? Thanks!

                    Intermediate & Advanced SEO | | RWW
                    0
                  • CostumeD

                    On 1 of our sites we have our Company name in the H1 on our other site we have the page title in our H1 - does anyone have any advise about the best information to have in the H1, H2 and Page Tile

                    We have 2 sites that have been set up slightly differently. On 1 site we have the Company name in the H1 and the product name in the page title and H2. On the other site we have the Product name in the H1 and no H2. Does anyone have any advise about the best information to have in the H1 and H2

                    Intermediate & Advanced SEO | | CostumeD
                    0
                  • Carlos-R

                    Disavow Tool - WWW or Not?

                    Hi All, Just a quick question ... A shady domain linking to my website is indexed in Google for both example.com and www.example.com. If  I wan't to disavow the entire domain, do I need to submit both: domain:www.example.com domain:example.com or just: domain:example.com Cheers!

                    Intermediate & Advanced SEO | | Carlos-R
                    0
                  • AESEO

                    Will changing a subdirectory name negatively effect local ranking?

                    We submitted a group of 50+ franchise stores into UBL to fulfill directory listings back in September. We are now looking at changing the some of the URL structure to include city names. Example:  website.com/store/store-name(not city) to                website.com/location/city-store-name Will changing the subdirectory and resubmitting to the directory aggregators negatively effect their search results? Thanks, Jake

                    Intermediate & Advanced SEO | | AESEO
                    0
                  • danielparry

                    Multiple sites in the same niche

                    Hi All A question regarding multiple sites in the same niche... If I have say 10 sites all targetting the same niche yet all on different C-class IPs with different hosts, registrars, whois data and ages can I use the same template, or will Google discern a pattern? Basically I have developed a WordPress template which I want to use on the sites albeit with different logos / brand colours. NB/ All of the 10 sites will have unique, original content and they will NOT be interlinked

                    Intermediate & Advanced SEO | | danielparry
                    1
                  • ketan9

                    Optimize a Classifieds Site

                    Hi, I have a classifieds website and would like to optimize it. The issues/questions I have: A Classifieds site has, say, 500 cities. Is it better to create separate subdomains for each city (http://city_name.site.com) or subdirectory (http://site.com/city_name)? Now in each city, there will be say 50 categories. Now these 50 categories are common across all the cities. Hence, the layout and content will be the same with difference of latest ads from each city and name of the city and the urls pointing to each category in the relevant city. The site architecture of a classifieds site is highly prone to have major content which is not really a duplicate content. What is the best way to deal with this situation? I have been hit by Panda in April 2011 with traffic going down 50%. However, the traffic since then has been around same level. How to best handle the duplicate content penalty in case with site like a classifieds site. Cheers!

                    Intermediate & Advanced SEO | | ketan9
                    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
                  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.