Difference between revisions of "Moving IP address from ws1 to ws3"
From GLMWiki
(New page: =Move IP Address from WS1 to WS3 = == Prepare WS3 == * Change ip address in /etc/apache2/sites-available/www.domain.com ** run config test apache2ctl -t ** reload apache * change ip addre...) |
(No difference)
|
Revision as of 13:11, 29 May 2009
Move IP Address from WS1 to WS3
Prepare WS3
- Change ip address in /etc/apache2/sites-available/www.domain.com
- run config test apache2ctl -t
- reload apache
- change ip address and subnet info in /etc/network/interfaces for this site
Copy files from WS1
- all files in ws1 /home/httpd/server/www.domain.com/admin/logs to ws3 /var/www/server/www.domain.com/admin/logs
- set ownership on all files directories and all files and folders in directories to www-data.www-data
- set permissions on all files to 660
- set permissions to history directory to 770
- set permissions to files in history folder to 750
- files ws1 /home/httpd/awstats/ to ws3 /var/www/awstats
- only files that contain the name of the site your moving in the file name ie. *.domain.com* will get the files for domain.com
- set onership to rott.root
- set permissions to 666