Word Count: 79
  • Post category:Servers
  • Post last modified:2020-08-22
  • The website can be accessed within the LAN but redirected to the Notification page if the access is from the Internet.
  • Create the notification page named ‘under-construct.html’ under the root of the main domain. At this folder location, the html file can be used by all websites.
  • Add the following codes to .htaccess file of the website concerned. The site bridge-test is used for example here.
RewriteEngine on
RewriteBase /bridge-test
RewriteCond %{REMOTE_ADDR} != 192.168.88
RewriteRule (.*)$ /under-construct.html [R,L]