Author |
Message |
Bluezzz
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/18475d12420d903fc5c23.jpg)
Joined: Feb 08, 2005
Posts: 290
Location: USA
|
Posted:
Sat Jan 13, 2007 6:04 pm |
|
I want to be able to do a *mirror site* to experiment on, while leaving the current site unscaithed. How would I create a mirrored site as my site exists now but perhaps under a different folder, etc? I can be on the same domain but would be it's own functional site so that I can make changes to it and if they work out then I would make those same changes to the main site. I so hate making any changes because it often causes other problems to fix. It would be nice to work on a mirrored site in the background. |
_________________ Bluezzz
~ Stop & smell the roses, while you can! ~ |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Sat Jan 13, 2007 6:32 pm |
|
you can do that in 2 ways...
create a folder in your root...like /test/
or do it by subdomain like....
test.yoursite.com
then you can play around,make changes and keep notes of what your doing...
and make a backup of every file you touch .........
and naturaly you first make a copy of your site and upload that to the test site...., that includes the database as well. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Bluezzz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 13, 2007 6:42 pm |
|
Will I have to change config or anything, to get the test site to work in the *new folder*? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 13, 2007 6:46 pm |
|
the only thing you have to change is the database name and password...
cause you need to make a different database..(second one)
and make sure you set the url correct in the site config....
after that it runs in seconds... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Bluezzz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 13, 2007 7:29 pm |
|
"make a different database"? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 13, 2007 7:32 pm |
|
yes...
make a copy of your site and the database that goes with it...
then you go to your cpanel / create a new database / then you dump the copied database in the new created one.....
your new database has different name and pass , change that in your config.php |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Bluezzz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jan 13, 2007 9:55 pm |
|
How do I make a copy of the database? Can I just copy the whole nuke folder and the database is in there? Or is the database somewhere else? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sat Jan 13, 2007 11:56 pm |
|
The database is in the SQL server. Easiest way is to use phpMyAdmin to copy your tables to another database. |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Bluezzz
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 14, 2007 1:26 am |
|
No clue how to do that : o/ |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 14, 2007 4:41 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|