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
            • Site Title When Your Domain name is the keyword
              Grant0697
              Grant0697
              0
              5
              57

            • Why does my old brand name still show up on organic search but as my new brand name and domain?
              pilesofpillows
              pilesofpillows
              3
              4
              43

            • Domain Name redirection to new Domain Name - VS - Transfering Domaine Name from account 1 to account 2
              1
              1
              38

            • Why is my servers ip address showing up in Webmaster Tools?
              KristinaKledzik
              KristinaKledzik
              0
              13
              2.4k

            • 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

            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