?
Solved

Hiding a site page from being searchable

Posted on 2016-09-24
3
Medium Priority
?
88 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
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 30

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 84

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses
Course of the Month16 days, 12 hours left to enroll

864 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