icadmin Posted February 21, 2005 Posted February 21, 2005 If you don't have a web site up yet but you type in your domain name and it shows you basically.. what you have in your root and folders.. is it possible to make it so that if someone types in your domain.. all they get is.. a blank page or some message rather than be able to see what you have? I want them to be able to type in www.domainname.com/name to get to my bulletin board or whatever and if they screw up and just type in www.domainname.com or whatever.. I don't want them to see anything except for a blank page or a message or something. Thanks, Quote
TCH-RobertM Posted February 21, 2005 Posted February 21, 2005 Hi Icadmin, yes You would have to create an index.html or index.htm or index.php file with nothing much there here is an example ><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <!-- Set title for top of page --> <title>Untitled</title> </head> <!-- begin page code --> <body> <h1> Welcome to my site </h1> <h3> This site is under construction please come back soon to see what I have done</h3> </body> </html> save that piece of code as index.htm and place it in your public_html folder Quote
Madmanmcp Posted February 21, 2005 Posted February 21, 2005 Yes, create a blank index file and upload it into your public_html folder. Contents of file: <html> <body> </body> </html> save the file as "index.htm" or "index.html" Quote
HCSuperStores Posted February 21, 2005 Posted February 21, 2005 The solutions above works, or you can modify the rights of "indexing" that is controled through cPanel. Give that a shot! TMTOWTDI! Bill H Quote
TCH-RobertM Posted February 21, 2005 Posted February 21, 2005 LOL HC, I had to Look that one up TMTOWTDI and here I thought I was educated in acronyms LOL TMTOWTDI. ... TMTOWTDI: /tim·toh'·dee/, abbrev. There's More Than One Way To Do It. This abbreviation of the official motto of Perl Quote
Madmanmcp Posted February 21, 2005 Posted February 21, 2005 LOL I won't mention the words I was coming up with.... Quote
HCSuperStores Posted February 21, 2005 Posted February 21, 2005 You guys are a riot! A little fish hook out there for us true geeks I guess, myself included! :-) Glad you found the REAL letters (wonders what Madmancp came up with!) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.