?
Solved

Hiding a site page from being searchable

Posted on 2016-09-24
3
Medium Priority
?
85 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 1000 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 28

Assisted Solution

by:Dr. Klahn
Dr. Klahn earned 1000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

770 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