Hide a subdomain from outer world

Discussion in 'Site & Server Administration' started by coolguy123, Sep 4, 2006.

  1. #1
    I would like to hide my subdomain name from the outside world. For eg.

    If I have a domain name abc.example.com then I donot want any search engine or outside world to know about the existance of abc.example.com as a subdomain. I know if I do not provide any links any where on a page then search engines won't pick it up. But is there any other measures I should take to prevent this from happening??

    Also do the toolbars like google, yahoo or alexa automatically pick up which url i am visiting?

    Thank you for your inputs.
     
    coolguy123, Sep 4, 2006 IP
  2. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #2
    One thing you can do is deny spiders in your robots.txt file. This will only help with compliant robots.

    If I had something I did not want world to see would put in password protected directory.
     
    Smyrl, Sep 4, 2006 IP
  3. sreyas

    sreyas Well-Known Member

    Messages:
    128
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Smyrl is correct either password protect the directory or put this in yoru robtos.txt

    User-agent: *
    Disallow: /abc/

    this will ofcourse stop spiders not humans:)
     
    sreyas, Sep 4, 2006 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,810
    Likes Received:
    4,535
    Best Answers:
    123
    Trophy Points:
    665
    #4
    this will ofcourse SOME stop spiders

    Not all spiders will obey robots.txt
     
    sarahk, Sep 4, 2006 IP
    sundaybrew likes this.
  5. ketan9

    ketan9 Active Member

    Messages:
    548
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Definitely, putting a password in .htaccess is the best way to protect that domain. Also, keep a check on your log files to see who is accessing this domain. Or you can restrict the visibility of that domain to certain ips provided you access it from some specific ips only.
     
    ketan9, Sep 5, 2006 IP