Jump to content

Recommended Posts

Posted

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,

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...