How to show Website under construction

Posted on 2007-10-19
1 Ratings
Last Modified: 2012-05-05

I've been asked to bring a website down by the President. The site is hosted on IIS 6.0 and is hosted internally to the network. The site should be running but when the people go to the page should display "Page under construction". So i followed someone advice by creating a default document (default.html) with my under construction message and placed that in the web root of the website on the server. Then in IIS, went to the properties for the website. On the Documents tab, selected the entry for DEFAULT.HTML and click the up arrow to bring that to the top of the list of default documents. Applied the changes and did a CTRL-F5 in the browser to do a full refresh. This worked! 1 week later my boss did a google search and clicked on the link and the website is up and running with no construction page. The link has /about.html and it brought  her to the website.
How can i show website under construction on all links for the website?

Question by:Tacobell2000

    Expert Comment

    One way to do this is to change your defalt website's listening port to something other then 80 (i.e. 8080)

    then create another site under IIS with "under construction" as the default (and perhaps only) file. The new site should be set by default to listen on port 80. Test your site by typing in the url with about.html you should get a page not found.

    LVL 33

    Expert Comment

    As long as your other pages are available and reachable by incoming links, Google and others will find them.  If you don't want a page to show up, replace it with the under construction page.
    LVL 13

    Expert Comment

    Another way would be to include a file to your header (or masterpage if you are using and check for the visitors IP address. If it matches your company's IP then show the content (e.g. real website) if not redirect to the default.htm that shows your under construction page. This way all your pages will use your include and check if its allowed to be viewed or not, even links coming from Google.
    LVL 4

    Accepted Solution


    The easiest way is to remove all your documents out of the Directory where your website is at. Leave only your Default.html

    Then, under the Custom Error tab in IIS, set the 404 Error to point to your Default.html

    This way, anyone trying to link to the original website, whether from Google, or from saved links, will go to your Under Construction page...

    Author Comment

    Right on BamBamHR.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
    Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now