#1 (permalink)  
Old 05-21-2009, 06:50 PM
Ian Ian is offline
Junior Member
 
Join Date: May 2009
Posts: 1
Question Website Construction

Our site is up, however we still have some major changes to make. Is there any way to block it from being accessed until we are completely ready for it to be?
We were also considering putting up a "site under construction" page too, but are not quite sure how to do that, either. Do you have any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-22-2009, 01:04 AM
bdh734's Avatar
Senior Member
 
Join Date: Jun 2008
Location: A small room with flickering blue and green lights
Posts: 309
Send a message via MSN to bdh734 Send a message via Yahoo to bdh734
Default

You can add the following to .htaccess

Code:
DirectoryIndex construction.html
Then use your construction.html. When done, just remove the line from .htaccess

Here is a nice and simple html under construction that I made. Screenshot is attached.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-gb" xml:lang="en-gb">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="en-gb" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>I'm New......</title>

<style type="text/css">
    * {
        padding: 0;
            margin: 0;
            }
            
                body, html {
                    height: 100%;
                        overflow: auto;
                        
                        }
                        
                            body {
                                font-family: "Lucida Grande","Trebuchet MS",Verdana,Helvetica,Arial,sans-serif;
                                    font-size: 16px;
                                        text-align: center;
                                        }
                                        
                                        
        #page {
        width: 600px;
        height: 340px;
        border: 1px solid #DDD;
        background-color: #EEE;
        padding: 20px;
        margin: 0 auto;
        text-align: left;
        line-height: 28px;
        clear: left;
    }
                                        
        h1 {
        font-size: 38px;
        line-height: 56px;
        }
                                                        
    #distance {
        float: left;
        height: 50%;
        margin-top: -190px;
        width: 1px;
    }
                                                                            
    p {
        margin-bottom: 1em;
        }
        
            p.last {
                marfin: 0;
                }
                
                    a {
                        color: #0000FF;
                        }
                            a:hover {
                                color: #FF0000;
                                }
                                
</style>
</head>
<body>
    <div id="distance"></div>
    <div id="page">
        <h1>Hey There....I am a new site!</h1>
        <p>Powering Up Very Soon</p>

        <p>Since I am a new site, my owner is currently working on me.</p>
        <p>Please try back later and perhaps I will be done.</p>
        <P>Thanks :)<P>
    <p class="last">--Server Welcome Team</p>
    </div>
</body>
</html>
Attached Images
File Type: jpg 2009-05-22_000349.jpg (7.2 KB, 14 views)
__________________
For HELP, summon support with the Bat-Signal: http://support.hostv.com/

Sysadmins are sexy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:38 PM.


Powered by: vBulletin
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15