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. DNS(Name servers), IP and domain.. All Showing Same Site...

    DNS(Name servers), IP and domain.. All Showing Same Site...

    Intermediate & Advanced SEO
    4 2 495
    • 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.
    • semshah143
      semshah143 last edited by

      Hello,

      My site is hosted on VPS with dedicate IP.

      The problem I am facing is my site is indexed and cached by domain, IP address and name server.

      I am able to open all the pages via www.xyz.com and and IP 1.1.1.1 and the name sever like ns1. hosted.com

      And if I USE site operator in google for 1.1.1.1 and ns1.hosted.com there are so many pages which is cache and in sites.

      Is it any server issue my hosting company give me a reply as given below

      "This is because that site is on the same ip as the nameserver. This is completely correct and normal. This is not an error."

      Is it true ?

      can you help me in this issue?

      Thanks

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

        Yes it is correct if its on the same ip. but you should 301 redirecet to the canonical domain.

        1.1.1.1 and ns1.hosted.com should 301 redirect to www.xyz.com

        What type of server are you hosted on linux or windows?

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

          yes its linux.....

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

            pop this in your htaccess file, obviouly change to fit your domain

            RewriteEngine On
            RewriteCond %{HTTP_HOST} !^www\xyz.com$
            RewriteRule (.*) http://www.xyz.com/$1 [R=301,L]

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Does Domain Authority remian if site owner and server changes
              gowebsol
              gowebsol
              0
              7
              511

            • New Domain Name For an Old Site
              ccbamatx
              ccbamatx
              1
              9
              187

            • Other domains hosted on same server showing up in SERP for 1st site's keywords
              Motava
              Motava
              0
              8
              997

            • Multiple Domain Names Point To One Site
              TomRayner
              TomRayner
              1
              3
              581

            • IP address guideline for 2 sites on same server linking each other.
              HiteshBharucha
              HiteshBharucha
              0
              5
              458

            • Changing Domain / Site Name - An SEO Nightmare?
              Travis-W
              Travis-W
              0
              7
              2.0k

            • Brand Name in Domain name
              innofidelity
              innofidelity
              0
              6
              374

            • New domain name for existing site
              baptisteplace
              baptisteplace
              0
              5
              1.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