1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Web page migration from one server to another!

Discussion in 'Apache' started by kumzis, Apr 13, 2012.

  1. #1
    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
     
    kumzis, Apr 13, 2012 IP
  2. pupul

    pupul Logo Designer Premium Member

    Messages:
    1,683
    Likes Received:
    58
    Best Answers:
    2
    Trophy Points:
    265
    Digital Goods:
    1
    #2
    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.
     
    pupul, Apr 13, 2012 IP
  3. RHS-Chris

    RHS-Chris Active Member

    Messages:
    963
    Likes Received:
    29
    Best Answers:
    8
    Trophy Points:
    80
    #3
    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
     
    RHS-Chris, Apr 15, 2012 IP
  4. no69_2007

    no69_2007 Active Member

    Messages:
    1,145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    70
    #4
    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.
     
    no69_2007, Apr 16, 2012 IP
  5. bulldogbackup

    bulldogbackup Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    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
     
    bulldogbackup, Apr 17, 2012 IP
  6. locke815

    locke815 Peon

    Messages:
    481
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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.
     
    locke815, Apr 17, 2012 IP
  7. Harijith

    Harijith Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    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
     
    Harijith, May 8, 2012 IP