1
Tilnatis
Transfering to another server
  • 2011/2/27 18:59

  • Tilnatis

  • Just popping in

  • Posts: 1

  • Since: 2011/2/27


I'm looking for hot to trasfer my xoops sitre to a differant server is there anywhere that tells me how and what steps to follow?
I tried seach but could not find any results
Nobody knows what to choose veterinarijos klinika

2
Anonymous
Re: Transfering to another server
  • 2011/2/27 20:04

  • Anonymous

  • Posts: 0

  • Since:


Hi,

It's actually fairly easy to do, although it might appear daunting if your haven't done it before.

1. Back-up the files, maintaining the file/folder structure onto your computer (you do back up regulrly, don't you?). Make sure that mainfile.php has been copied (I've found that the 444 permissions sometimes stop it being downloaded).

2. Back up your database to your computer. Most folks use phpMyAdmin which is supplied as part of the cPanel by most hosts. You will find plenty of online guides on how to do this.

3. If your having change of server-level domain, open your database backup using a text-editor (Notpad on PC, Textedit on an Mac) and do a find/replace, finding your old domain (http://www.yourolddomain.com) and replacing it with the new one (http://your newdomain.com). You will probably find hundreds of references changed.

4. Upload your backed-up files/folders to your new server (except mainfile.php).

5. Create a new database and database user on the new server

6. Import your database backup into your newly created database. Check that you have the correct number of tables, etc.

7. Edit mainfile.php for the domain, virtual and physical file-paths, database name, databse user and database password. Remember to leave out the trailing / character at the end of the filepaths.

8. Upload mainfile.php to the new server and CHMOD it to 444.

That's it!

When you're happy it's working, delete the old files and database.

If you're a little uncertain about doing it, you could practice on your local machine by installing XAMPP (for Windows PCs) or MAMP (for MAC) and setting up a working version locally. It's good to do this anyway, in my experience - great for seeing how things work and testing minor changes.

HTH

Login

Who's Online

193 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 193


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits