How do I take my site offline?

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by bbtuna, May 8, 2008.

  1. bbtuna

    bbtuna New Member


    With that out of the way, is there some way (I'm guessing through cPanel) to bring public_html, or just my website in general, down for maintence? I want to make some changes to public_html/index.html but not allow people to see the changes untill I'm ready.

    How do I do this?

    Thanks in advance!
  2. rlodge

    rlodge Member

    Not sure if this is the best way but how about making a new index.html page explaining that your site is going through some maintenance and rename your index.html to something like "~index.html"?

    Once you are done with the maintenance, delete the temp index.html and rename "~index.html" to index.html.

    I am far from an expert but it seems that in this way, guests don't have to see a 404 error message and your index.html gets fixed in private.
  3. cowctcat

    cowctcat New Member

    create a temporary index page say tmpindex.html saying that your site is down for maintenence and about the time it will be back up.
    AND redirect your whole site to that file this way none of your site is accessable at the time of the maintenance
    Last edited: May 8, 2008
  4. woiwky

    woiwky New Member

    If the changes are superficial, i.e. you're not making important bug fixes or anything like that, then it's better to do it as rlodge suggested so that visitors can go on using your site. For bug fixes however, then it would be better to do something like kllctcat said. Although you'll need to make an exception for yourself so you aren't redirected, of course.

Share This Page