Can anybody guide or show a reference to change webhost for an established phpld v3.2 directory (script + database) ? What steps to follow, how much time it can take ? Thanks.
1. backup mysql DB 2. download all files 3. change DNS if necessary 4. on new hosting create new db 5. upload all files 6. in the include/config.php change host, user, pswd 7. wait for dns to resolve if you had to change it done
1. Copy your database to the new server and allow connections from the old server. 2. Update your configuration file on the old server so that it connects to the database on the new server. 3. Copy up your files to the new server and test everything is working (You can edit your hosts file on windows to point the domain name to the new IP to test). 4. Once happy everything is working on the new server, update your domain DNS to point the domain to the new server. 5. Wait 24 hours for the DNS to propogate and then delete the database and all files from the old server. Thats the basics, but if your unsure hire someone to do it for you.
Silky it seems Rob beat you by 2 mins Its a case of backup and restore. nothing more nothing less. Just make sure you dont delete anything or switch nameservers on the domain until its all up and running on the new host.
and do the old dump in this database ? And then change the database details in config ? Also, any changes to be made in htaccess ? thanks silky and an0n, that was fast.
Yes Rob said you will need to change DB info. No htacess changes are made. That file never changes. And yes, after creating the new Database you will need to go into phpMyAdmin and import the backup you made.
yes, when you click on 'Export' for your database, on the right-hand side you will see the options to check off: Add DROP TABLE Add IF NOT EXISTS check those off and then save your files to your local PC. So whenever you create your new database and goto import, it will automatically drop the table(if it does exist) and create these tables(if they dont exist). thats it, you are pretty much set with the DB. no need to change the htaccess file. Just make sure you upload that with the rest of your files and everything will be right as rain.
OK.. Is it a good idea to install the new script v3.3 on new host and then upload the old database ? will that work ? I think that will also require template changes and installing the mods again. I just noticed that I will need to move the attached blog too..
you will need to run the installer after you have your database moved over and intact, because the installer does make changes for the newer versions.
Brian1970 PMed me a nice guide http://www.seowebdirectory.co.uk/PHPLD_Transfer_Guide.php Thanks brian.
Thanks for the link...that's a nice guide. For someone like an0n, this stuff is a breeze, but for someone like me, I need someone to hold my hand...as I watch them do it for me...
BTW why don't you ask your new webhost to transfer your web directory alongwith blog from old hosting ? Suggest you this because i have done same thing for few of my web directories few days back. DON.