Home Page Forums General Discussion FYI: Changing Hosting Services, site might be down

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #204754
    Anonymous
    Guest

    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.

    #227572
    Anonymous
    Guest

    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:

    # 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]

    #227573
    Anonymous
    Guest

    Transfer is done. DNS transfer underway. Site will go down any time. Will take a day or two to come back for most people.

    #227574
    Anonymous
    Guest

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

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.