Google is showing two versions of my domain and Ipaddress

Discussion in 'Google' started by xianli, Nov 13, 2010.

  1. #1
    hi,

    I am using hardware load balancer. my wesite name poiting to the loadbalancer ipaddress. In google when i give site:domain.com it return all my indexed page. when i give site:mydomain ipaddress (ie load balancr ipaddress) its also return the number of pages. Is anything did i wrong as gogole indexed like this?

    domainname.com/1/xyz.html
    domainname's ip address/1/xyz.html

    both are going to same page. Please help me in this issus. Thanks in advance
     
    xianli, Nov 13, 2010 IP
  2. DoDo Me

    DoDo Me Peon

    Messages:
    2,257
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I was also met this issue by using CDN etc

    anyway

    method 1: place robots.txt on any place you do not want to get indexed, you might need a dynamic robots.txt created by current host name
    method 2: use absolute path with full domain name on link herf.
    method 3: use canonical meta (may not work if your site is very very dynamic)
     
    DoDo Me, Nov 13, 2010 IP
  3. Lee6Pack

    Lee6Pack Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Good answers DoDo Me! We always forwarded requests to the primary domain.
     
    Lee6Pack, Nov 13, 2010 IP
  4. xianli

    xianli Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can I disallow the IP addresss in which my ipaddress is hosted to avoid indexing in Robots.txt?

    If I disaallow, will it not create any problem since my website is hosted in that IP?
     
    Last edited: Nov 15, 2010
    xianli, Nov 15, 2010 IP