Topic: Moving your site to a new server or doamin
There are two methods of moving your site to a new server or domain name.
Which method you use will depend on how customized your site is.
In other words...
If you have NOT made ANY changes to your site.......... use Method I
If you made major changes to many files ....................... use Method II
PLEASE NOTE:
Method I- you are installing the program for the first time on a new server or domain
and your current site version number in the same as the latest vldPersonals version number.
Method II- you are transferring your current program files and folders including your member content (pictures, music, videos,) to a new server or domain.
Method I
This method installs the program to a new server for the first time.
(NOTE: use this method if you have NOT made ANY changes to your site)
1-Back-up your database
2-Download all program files and folders to your local drive (this is your back-up site)
3-Download new program files from the downloads area
Note: When using Method I ensure, your current program version is the same as the vldPersonals latest program version downloaded from the download area.
4-Upload the (install version) of the program (downloaded from the download area)
5-Install the program to your new server
6- Set file permissions ****
7-Upload the contents of the media/uploads folder to the new site
8-Restore the database
9-Update counters
Method II
This method transfers your current program files and folders to a new server or domain.
(NOTE: use this method if you HAVE made many changes to your site)
1- Back-up your database
2-Download all program files and folders to your local drive (this is your back-up site)
3- Edit your your config.php file located in your includes folder to reflect new server paths
(edit line 16 through 22 and remove the old paths and insert the new paths)
for example:
old paths:
16 $conf['system_path'] = '/home/content/r/a/v/web_site/html/old/';
17 $conf['virtual_path'] = 'http://www.web_site.com/old/';
18 $conf['virtual_cp_path'] = 'http://www.web_site.com/old/cp/';
new paths:
16 $conf['system_path'] = '/home/content/r/a/v/web_site/html/new/';
17 $conf['virtual_path'] = 'http://www.web_site.com/new/';
18 $conf['virtual_cp_path'] = 'http://www.web_site.com/new/cp/';
4-Set file permissions ****
5-Clear all caches
5a-includes/cache/
5b-includes/templates/tmp/
5c-templates/your_template2/tmp/
6-Upload the contents of the media/uploads folder to the new site
7-Restore the database
8- Update counters
***Special Notes***
a-You will need the Ioncube in the new root folder
b-If you are using a different database do not upload the (old) config.php file from the (old) includes folder to the new includes folder
c. Ensure your file permissions are set correctly.
d. After you move your the site, to your new domain or server, completely remove the software from your old domain or server.
****Set File Permissions***
Note: If you are hosted on a Windows server you will skip this step, but you should ensure that the files and directories are writable by vldPersonals. You may need to contact your Host or server admin for this.
If you are using a Unix server (or Unix variant, like Linux, OS X, FreeBSD, etc.) you must set the following files to 666:
includes/config.php
sitemap.xml
You must set the following directories to 777:
includes/cache/
includes/templates/tmp/
templates/your_template/tmp/
templates/webby2/tmp/
media/uploads/
Last edited by seeme101 (2010-08-25 01:00:36)