Test area for website

Copying files to a test area


1.     Use firefox or google chrome (IE has some problems)

2.     In cpanel, file manager, navigate to the primary domain

3.     Select all files, then deselect the media folder

4.     Choose copy, specify the target test area/subdomain.

-        db files will not copy

-        wait at least 10 minutes for the files to copy

-        every copied file is tagged with a new “last modified” (there is no override for this, folder timestamps may not be updated)

5.     Make a copy of the database

-        Can do this while the copy is occurring

a.     Go to phpmyadmin (under the database section of the cpanel)

b.     Go to Operations

c.     Make a name for the DB (ie: sandbox201108) and start the copy

d.     Go to mysqldatabases (under the database section of the cpanel)

e.     Verify that the new database is listed

f.      Add the default user to the new database – priests_jo152

6.     Update the configuration to point to the new database

a.     Open /public_html/test2j/configuration.php

b.     Replace the red text in the following strings

          var $log_path = '/home3/priests/public_html/thewordproclaimed.org/logs';

          var $tmp_path = '/home3/priests/public_html/thewordproclaimed.org/tmp';

          var $live_site = 'http://thewordproclaimed.org';

          var $user = 'priests_jo152';

          var $db = 'priests_sandbox201108';

          var $password = 'rjn[Lv45cFc1';