Helllo, i am new to Apache and Linux, and i need some help. My task is to migrate webpage. I have 2 servers. Both are Linux Red Had enterprise 5! on both there is installed apache. the web pages all phisical data are stored in /var/www/html and i need to get that webpage from server1 to server2. My question is how to do it. Can i just copy pase the phisical data or there is something else to it? I actually copied all thous files to second server and started apache but no luck blank page! What i need to change so the web page is shown?! There is no point telling that Webpage work great on Server1! thx Regards Toms.S
No, it won't work like that. You may have also Database. If you don't do proper migration it won't work. You may ask your new Hosting Provider to do this work, if they won't, then hire someone to do this for you.
Hello there, There of course may be more to it. Are the configurations the same for the services running on both servers? As stated above, do you have a MySQL database(s) that needs to be moved over as well. For moving files from one server to another, I would suggest you use rsync. Regards, Chris
If you do not use cPanel, I suggest you to compress all date on old server, then move it using wget command and un-compres it.
If the site is database driven simply: Old Server Backup databases Backup website files New Server Create new database Import backed up database Upload backed up files Edit Config file(s) with new host details
does your hosting provider provide migration support? it's best to leave it to the professionals. make sure you ask them to backup all the database and the website files before they perform the migration.
Hi, Copying the files alone wont make it work. You need to add vhost entry in apache configuration file. Migrate the databases to new server (if any). Start the necessay services httpd, mysql. Install php. Does the server has any control panel installed ? Usually the hosting company of the new server should provide migration from old server for free. Please contact them. Regards, Hari