This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:server:moving_installation [2011/12/12 19:43] jonyo updated e-mails |
tutorials:server:moving_installation [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Moving Installation to New Server ====== | + | ====== Moving Installation to New Server |
- | <tip c n>This tutorial will also work when creating a duplicate installation for staging or testing purposes. | + | Instructions |
- | + | ||
- | When moving the software from one server/ | + | |
- | + | ||
- | 1) Files: | + | |
- | This is the easiest step. With respect to the software, you will simply need to transfer all of the files of the software including subdirectories and the files in the subdirectories from your old server to your new server. | + | |
- | + | ||
- | 2) The database: | + | |
- | Most hosts provide a program called phpMyAdmin for administering your MySQL databases of your hosting account. You will first want to use phpMyAdmin to create a backup of the database of the old installation in sql format. | + | |
- | <tip c n> Be sure to use the Drop Table option as it makes recreating the database a bit easier. </ | + | |
- | Once you have this done, you can use this backup sql document just created to create the " | + | |
- | + | ||
- | 3) The admin: Once the files have been transferred and the database has been created, there are a few settings that need to be addressed in the config.php file and admin to correspond with the new server. Below is the list of them: | + | |
- | + | ||
- | 4) The config.php file: | + | |
- | Will need to be edited to match your new database connection settings. This includes the new database server location (usually localhost), database name, database username and password to connect to that new database. Once this is done you can then log into the admin. Check all of the " | + | |
- | + | ||
- | SITE SETUP > GENERAL | + | |
- | + | ||
- | REGISTRATION SETUP > GENERAL | + | |
- | + | ||
- | Check the setting below to make sure the server path to the "user images" | + | |
- | + | ||
- | ADMIN > LISTING SETUP > PHOTO UPLOAD SETTINGS > " | + | |
- | + | ||
- | ADMIN > LISTING SETUP > FILE UPLOAD & DISPLAY SETTINGS > Server Path to Root of Photos Directory (post version 4.1) | + | |
- | + | ||
- | Also double check that the above mentioned directory has the correct rights on it so the script can " | + | |
- | + | ||
- | 5) The html: | + | |
- | Within your templates and/or html logged in/out modules, you may have to adjust links and image references. This typically will need to be done if you changed the domain name or if you changed the subdirectory that the software is installed relative to the domain. | + | |
- | + | ||
- | 6) Email Configuration: | + | |
- | Go through the following admin tool to make sure you do not need to change the email configuration: | + | |
- | + | ||
- | EMAIL SETUP > GENERAL EMAIL SETTINGS | + | |
- | + | ||
- | Send some test emails from this admin tool to yourself and possibly other email addresses to make sure the software is sending emails correctly. | + | |
- | + | ||
- | 7) SEO: | + | |
- | If you use the SEO addon to rewrite your urls to more Search Engine friendly ones you may need to recreate the " | + | |
- | + | ||
- | 8) The license for you installation has almost undoubtedly changed somewhat. You will need to contact [email protected] with the new installation locations ip address, url and server path to the installation so that the license can be updated to the new location. | + | |
- | + | ||
- | If you know the domain AND installation path before you make the move you can send that information into [email protected] before you start the migration. | + | |
- | + | ||
- | All in all it is a pretty simple and straight forward process but if you feel that you do not want to do this, we do offer this as a service. Please contact [email protected] if you would like us to perform this for you. | + |