Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Apache web app

Posted on 2012-03-11
3
Medium Priority
?
309 Views
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?
0
Comment
Question by:Jack_son_
3 Comments
 
LVL 4

Assisted Solution

by:HarryMuffin
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
0
 
LVL 81

Accepted Solution

by:
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

etc.
0
 

Author Comment

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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to dynamically set the form action using jQuery.
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…
Suggested Courses

578 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