1

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)

Not only am I a Staff member,  I'm also a Client

2

Re: Moving your site to a new server or doamin

While using the first method and going through installation process, it says "could't verify your license key", but I'm using the license key from my downloads area. What did I do wrong?

Why did the blonde put lipstick on her forehead?
She was trying to make up her mind

3

Re: Moving your site to a new server or doamin

maybe your hosting doesent has CURL enabled
or whatever is needed for vld script to verify license

4

Re: Moving your site to a new server or doamin

I'm moving my site from one domain and hosting to another and I want to upload a new version and add existing database. I've asked my new hoster whether they meet vldpersonals hosting requirements and they said yes. My friend who is using vldpersonals software said you can't use license at two domains at the same time. But what am I supposed to do? Delete all the files from my old server and then upload to a new one? It doesn't say so in instructions. Could it be any other reason? Help!!!

Why did the blonde put lipstick on her forehead?
She was trying to make up her mind

5

Re: Moving your site to a new server or doamin

Copy/move files to your new domain. Once it's up and running you should remove the software from your old domain.

Developer

6

Re: Moving your site to a new server or doamin

Anyone had problems with the facebook style chat system after they moved to a different server?

7

Re: Moving your site to a new server or doamin

Using method 2, I moved all my files from an addon domain to the root (public_html) folder on the same account. Now all I get is "Your license key does not appear to be valid." Any suggestions?

I'm not a programmer, but I am a thinker.
Kilbey

8

Re: Moving your site to a new server or doamin

reissue license in vldpersonals Client area