Apache Web Server VPS setup and configuration BIPmedia.com There are times when you want to disable access to your site. You could simply add a ‘deny from all’ to your .htaccess page but this gives the end user a ugly forbidden page and makes your site look broken.

A better option is to create a nice looking page that explains to the user that your site is under going maintenance and will be back online shortly. You can do this easily if your web server supports mod_rewrite (most do) using the following instructions.

Requirements

  • Web Server with mod_rewrite support
  • Web Server with .htaccess support