Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

host change

i want change my hosting service to another service so can u tel me how to do it

Comments

  • Options

    ???????????

  • Options
    x00x00 MVP
    edited September 2014

    deelaka6 it is not he done thing to post back an hour later.

    Especially as it is the early hours in the Americas. It is only volunteers here.

    Migration is simple.

    1. backup everything.
    2. You probably want to prevent new content from being posted, the simplest way is take down service by renaming index.php to something not guessable. Then create an index.php with contents
      <?php header('HTTP/1.1 503 Service Temporarily Unavailable'); header('Status: 503 Service Temporarily Unavailable'); header('Retry-After: 18000'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex"> <title>Service Unavailable</title> </head> <body> <p>We are currently in the process of migrating the forum to a new server, please come back later!</p> </body> </html> this will be SEO friendly, as it tell the search engine to to come back later.
    3. make a mysqldump of your database.
    4. copy the vanilla folder over to it new location
    5. ensure the file permissions are set correctly as per installation, and delete *.ini files in the cache directory
    6. create database and assign user
    7. import the database dump
    8. change conf/config.php to make sure it reflects the new database credentials.
    9. get rid of the temporary index.php and reinstate the the real index.php but only on the new server.
    10. point domain to new server, wait till service resumes (may be 24 hours or more to reach the whole world).

    grep is your friend.

  • Options
    x00x00 MVP
    edited September 2014

    sorry i can't edit that. There supposed to be a <?php at the top of that code.

    grep is your friend.

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @x00‌

    I've added it - in the right place, I hope!

Sign In or Register to comment.