We help IT Professionals succeed at work.

Apache web app

Jack_son_
Jack_son_ asked
on
Medium Priority
327 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?
Comment
Watch Question

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
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
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.

Author

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

Explore More ContentExplore courses, solutions, and other research materials related to this topic.