FYI: Changing Hosting Services, site might be down

Public forum for topics that don't fit into the other categories.
Post Reply
User avatar
Brian Johnston
Site Admin
Posts: 3488
Joined: 22 Oct 2008, 06:17
Location: Washington DC

FYI: Changing Hosting Services, site might be down

Post by Brian Johnston » 11 Feb 2010, 14:49

The 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.
"It's strange to be here. The mystery never leaves you alone." -John O'Donohue, Anam Cara, speaking of experiencing life.

User avatar
Tom Haws
Posts: 1245
Joined: 13 Jan 2009, 06:57
Location: Gilbert, Arizona, USA
Contact:

Re: FYI: Changing Hosting Services, site might be down

Post by Tom Haws » 11 Feb 2010, 16:11

I 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: Select all

# 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]
Tom (aka Justin Martyr/Justin Morning/Jacob Marley/Kupord Maizzed)
Higley and Guadalupe
Gilbert, Arizona
----
Sure, any religion would do. But I'm LDS.
"There are no academic issues. Everything is emotional to somebody." Ray Degraw at www.StayLDS.com

User avatar
Brian Johnston
Site Admin
Posts: 3488
Joined: 22 Oct 2008, 06:17
Location: Washington DC

Re: FYI: Changing Hosting Services, site might be down

Post by Brian Johnston » 12 Feb 2010, 17:31

Transfer is done. DNS transfer underway. Site will go down any time. Will take a day or two to come back for most people.
"It's strange to be here. The mystery never leaves you alone." -John O'Donohue, Anam Cara, speaking of experiencing life.

User avatar
Brian Johnston
Site Admin
Posts: 3488
Joined: 22 Oct 2008, 06:17
Location: Washington DC

Re: FYI: Changing Hosting Services, site might be down

Post by Brian Johnston » 14 Feb 2010, 18:36

The move is complete. Let me know if anyone finds and new bugs or issues.

Thanks.
"It's strange to be here. The mystery never leaves you alone." -John O'Donohue, Anam Cara, speaking of experiencing life.

Post Reply