Solved

Apache web app

Posted on 2012-03-11
3
278 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 250 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 77

Accepted Solution

by:
arnold earned 250 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

786 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