Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Brilliant! Your site is great...and saving me hours of time at work and making my boss think I am brilliant too! I also picked up on a thread that will potentially save us a lot of money in the future..."

Geography

Where in the world do Tek-Tips members come from?

Migrating website from one server to another. (Linux Redhat 5)

cardiner (TechnicalUser)
13 Apr 12 10:34
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
ChrisHirst (IS/IT--Management)
13 Apr 12 18:50
gzip the files on one server - extract them onto the other.

Why it didn't work? No idea with the information given.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

cardiner (TechnicalUser)
15 Apr 12 10:37
There is database, but its XML and all of it migrated to destination server. The thing is all this website uses tool called CakePHP and i am no so familier with it. Everything seems to work, except i get blank page
ChrisHirst (IS/IT--Management)
16 Apr 12 8:56
And is the 'Cake' framework installed on the destination server?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RhythmAce (TechnicalUser)
17 Apr 12 18:42
You need to tell apache where the web files are.  This is called the DocumentRoot.  You can edit or copy /etc/httpd/conf/httpd.conf to the new server and that should hook you up.  Remember, any time you modify httpd.conf, you need to restart apache so it reads this file.
 

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close