Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Apache web app

Posted on 2012-03-11
3
Medium Priority
?
306 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 80

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

916 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