Solved

Hiding a site page from being searchable

Posted on 2016-09-24
3
80 Views
Last Modified: 2016-09-30
All,

I'm trying to create a website and registered a domain with Godaddy and then all of a sudden I get 10 emails from random web design companies!

I asked how they got my info and they told me they used WhoIs.com. So I quickly paid for domain privacy from GoDaddy.

My question is i'm trying to create a website without anyone going to it until it's complete. So I created a directory for the site for testing purposes. I don't want anyone to randomly come across it by doing a search or however people would find a listing of all the sites in the domain.

For example:

Domain: www.CarAuctionXL.com
Test Site: www.CarAuctionXL.com/Test/Test.HTML (I do not want people to find this site since I'm making all my changes here)

Is this possible? Any other surprises I should be aware of before I realize my info is public and get hounded by all these spammers?
0
Comment
Question by:teknovation
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Accepted Solution

by:
bigeven2002 earned 250 total points
ID: 41813819
Hello,

You can use a robots.txt file to instruct search engines to not index the page, but some engines don't comply though.  This is the code to put in the root directory of your site:
User-agent: *
Disallow: /Test/Test.html

Open in new window


The other method which is more fool proof, is if you have a static IP address, then you can add a .htaccess file to the Test directory with the following lines:
order deny,allow
deny from all
allow from 1.1.1.1

Open in new window

Change the above to your public IP address.  If you have a dynamic IP, then you'll just need to update the file to reflect the new IP.
0
 
LVL 27

Assisted Solution

by:Dr. Klahn
Dr. Klahn earned 250 total points
ID: 41813951
If there are no vhosts on the site*, just bring it up inside your LAN on a fixed address.  Nobody outside your LAN will be able to get to it.

* When vhosts are present, Apache identifies the vhost to route a request to by the sitename in the URL.  Obviously this will not work for a site inside a LAN with no DNS pointing to it.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41813952
People often use a 'development' server that is not accessible from the internet to develop their websites.  Then when it is done, they upload the finished product to the internet accessible hosting.
1

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question