Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
Bluezzz
Involved
Involved


Joined: Feb 08, 2005
Posts: 290
Location: USA

PostPosted: Sat Jan 13, 2007 6:04 pm Reply with quote

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! ~ 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sat Jan 13, 2007 6:32 pm Reply with quote

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.
 
View user's profile Send private message
Bluezzz
PostPosted: Sat Jan 13, 2007 6:42 pm Reply with quote

Will I have to change config or anything, to get the test site to work in the *new folder*?
 
hitwalker
PostPosted: Sat Jan 13, 2007 6:46 pm Reply with quote

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...
 
Bluezzz
PostPosted: Sat Jan 13, 2007 7:29 pm Reply with quote

"make a different database"?
 
hitwalker
PostPosted: Sat Jan 13, 2007 7:32 pm Reply with quote

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..... Wink

your new database has different name and pass , change that in your config.php
 
Bluezzz
PostPosted: Sat Jan 13, 2007 9:55 pm Reply with quote

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?
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Jan 13, 2007 11:56 pm Reply with quote

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! 
View user's profile Send private message Visit poster's website
Bluezzz
PostPosted: Sun Jan 14, 2007 1:26 am Reply with quote

No clue how to do that : o/
 
hitwalker
PostPosted: Sun Jan 14, 2007 4:41 am Reply with quote

ive send a pm
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©