Home Page › Forums › General Discussion › FYI: Changing Hosting Services, site might be down
- This topic is empty.
-
AuthorPosts
-
February 11, 2010 at 9:49 pm #204754
Anonymous
GuestThe whole site (boards and main page) will probably go in the next few days. They will be down for 24-72 hours as we transfer the domain to a new hosting service. February 11, 2010 at 11:11 pm #227572Anonymous
GuestI found this when I needed to shut down my site to a single file for maintenance. You may not need anything so drastic, but here it is Add this to .htaccess:
Code:# This section is to close down the site in emergencies.
# Uncomment the next two lines.
#RewriteEngine On
#RewriteBase /
# Uncomment the next code line only for testing.
# It says only do the rewrite if the request is from YOUR IP address.
# Thus, you can close the site only to YOURSELF to make sure it works,
# then comment out the line again to close the site to everyone.
# Set it to your actual IP address at the time of the test.
#RewriteCond %{REMOTE_ADDR} ^111.222.333.444$# Uncomment the remaining two code lines to close the site. They say:
# if the request is NOT for /maintenance.php, send /maintenance.php instead.
# You MUST allow at least one file to be served without rewriting it,
# (maintenance.php in this example), to prevent endless looping.
#RewriteCond %{REQUEST_URI} !^/maintenance.php$
# To allow another file, copy the line above to here and change the filename.# This line says: no matter what file was requested, serve maintenance.php.
# This is a rewrite (not a redirect), so we use the local file path, no http://
#RewriteRule ^(.*)$ /maintenance.php [L]February 13, 2010 at 12:31 am #227573Anonymous
GuestTransfer is done. DNS transfer underway. Site will go down any time. Will take a day or two to come back for most people. February 15, 2010 at 1:36 am #227574Anonymous
GuestThe move is complete. Let me know if anyone finds and new bugs or issues. Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.