Apache web app

Posted on 2012-03-11
Medium Priority
Last Modified: 2012-04-18
Are these likely the only directories I need to move to relocate an Linux Apache application to a new server:

1. directory under apache2 for the website
2. directory under www for the website
3.  update ip configuration for the website file
4.  Restore MySQL application

Is there anything else I may need to do to get the site working?
Question by:Jack_son_

Assisted Solution

HarryMuffin earned 1000 total points
ID: 37708228
Be sure to get your /etc/apache2 directory so that you get all of your config files. Also be sure to get your php.ini
LVL 81

Accepted Solution

arnold earned 1000 total points
ID: 37708331
which Linux distro are you using?
Make sure if you have include /etc/httpd/conf.d/*.conf to copy those as well.
Do you have the option of running both servers at the same time?
Do you use name based hosting?

you could modify your local /etc/hosts on the workstation to test the functionality of the new server for the site.
i.e. add
new_ip www.yoursite.com www.yoursecondsite.com


Author Comment

ID: 37709162
I am using debian;  yes, both servers are running at the same time.

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question