<br>
<b>Warning</b>:  Undefined array key "HTTP_REFERER" in <b>/home/webhostingchenna/domains/webhostingchennai.co.in/public_html/blog/wp-content/plugins/wp-linkbuilder/plugin/plugin_class.inc.php</b> on line <b>637</b><br>
{"id":1048,"date":"2019-02-11T17:46:43","date_gmt":"2019-02-11T12:16:43","guid":{"rendered":"http:\/\/www.webhostingchennai.co.in\/blog\/?p=1048"},"modified":"2019-03-07T12:02:16","modified_gmt":"2019-03-07T06:32:16","slug":"server-migration-without-down","status":"publish","type":"post","link":"https:\/\/www.webhostingchennai.co.in\/blog\/server-migration-without-down\/","title":{"rendered":"Web Server migration without down time (WHM)"},"content":{"rendered":"<h4><span style="">Web Server migration without down time (WHM)<\/span><\/h4>\r\n<p><\/p>\r\n\r\n</p><p>The term server migration would bang you at least once. Well, this arises due to a number of factors such as moving to a powerful server in order to have better resources to process data, change in environment like updating to a newer version of your program or web server for better results or change of service provider. The term server migration may hit you in a great deal, because you fear about lose of data, unstable websites or down-times. This article focuses on how to achieve webserver migration with zero down time without any data loss. Lets start!<\/p>\r\n\r\n\r\n\r\n</p><p><strong>1. Prepare Your DNS<\/strong><\/p>\r\n\r\n\r\n\r\n<p>When you move your site(s) to a new server, you will likely get new IP addresses. The problem is that DNS servers cache domain name queries for as long as possible to provide the fastest response. Because of these DNS caching, once you change your IP, it can take up to three days before the changes propagate throughout the Internet. To keep this from happening, your first step in preparing for the migration is to change your DNS record TTL (Time To Live). This value designates how long your DNS entries should be cached. So the first thing you need to do before migrating is to lower the TTL to reasonable levels.<\/p>\r\n\r\n\r\n\r\n</p><p><strong>2. Set up Your New Server<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Make sure your new server has the correct operating system installed and ready and that all hardware meets your applications specifications. Also setup the new IP addresses.<\/p>\r\n\r\n\r\n\r\n</p><p><strong>3. Tune Your Server<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Check your file system and make sure your partitions are set up as you need them. Set up RAID if required. This is also the perfect time to implement any security practices within the OS and firewall (if installed). Its important to complete these steps before you get too far because they are much easier to do without content on the server.<\/p>\r\n</p><p>For <a href="">securing\u00a0secure your WHM\/cPanel server<\/a>.<\/p>\r\n\r\n\r\n\r\n<p><strong>4. Install Base Applications<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Once you have installed the OS and setup the file system, you are ready to install the base applications, like the Web server, e-mail server, database server, PHP, etc.. Also verify the services are running fine on the new server.<\/p>\r\n\r\n\r\n\r\n</p><p><strong>5. Begin Data Migration<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Once the base applications are installed, you are ready to do the initial migration of your application data. This includes the database data, your application code files, mail server account configuration, logs, file caches, etc..<\/p>\r\n\r\n\r\n\r\n</p><p><strong>6. Bring your new server to life.<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Once the data is migrated the server is configured to work everything correctly, you should change your sites domain DNS records to point to the new server address.<\/p>\r\n\r\n\r\n\r\n</p><p><strong>Data Migration<\/strong><\/p>\r\n\r\n\r\n\r\n<p>If you are using any Control Panels like <a href="">cPanel<\/a>, Plesk, etc., it rather easy to move data\/accounts between servers as each control panel will give you option to move accounts.<\/p>\r\n\r\n\r\n\r\n<p><strong>cPanel Server to cPanel server migration<br><\/strong><br>To migrate from one cPanel server to another, please do this:<\/p>\r\n\r\n\r\n\r\n<blockquote class="">\r\n<p>1. Log into WHM as root on the new cPanel server<\/p>\r\n</p><p>2. Click \u201cCopy multiple accounts\/packages from another server\u201d<\/p>\r\n</p><p>3. Fill in the required information like source server details and click \u201cFetch Account List\u201d<\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n</p><p>You will then be given the option to choose which accounts and packages to transfer.<\/p>\r\n\r\n\r\n\r\n</p><p>cPanel also does support migrating accounts from different control panel other than cPanel itself.<\/p>\r\n\r\n\r\n\r\n</p><p><strong>Server without a control panel<br><\/strong><br>Rsync is a simple and very powerful tools which can be used to transfer files between servers efficiently.<\/p>\r\n\r\n\r\n\r\n<p>First copy all the configurations files for the services like Web server, <a href="">Email server<\/a>, etc. Then transfer the account data from old server.<\/p>\r\n\r\n\r\n\r\n<p><strong>Rsync example:-<\/strong><\/p>\r\n<pre>#rsync -avz -e ssh \/home root@remoteserverip:\/home<\/pre>\r\n\r\n\r\n\r\n<blockquote class="">\r\n<p>-v: verbose, will tell you what file its on, how many left to check, etc.<br>-a: archive, will set most of the preferable options.<br>\u2013p: gives you per-file data transfer rates, and spinning progress bars if you\u2019re into that sort of thing.<br>-z: compress file data during the transfer<\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n</p><p><strong>System files:-<br><\/strong><\/p>\r\n\r\n\r\n\r\n<p>Please note that we do not need to copy the server related files. We can exclude from the rsync list. The most important excludes are the ones that reference hardware and system files that keep track of the server\u2019s status while it\u2019s running. That\u2019s why directories like \/boot, \/proc, and \/dev are essential excludes. The destination server should already have those directories and config files in place and they shouldn\u2019t be overwritten.<\/p>\r\n\r\n\r\n\r\n</p><p class=""><strong>Example\u00a0<\/strong><\/p>\r\n\r\n\r\n\r\n<pre class=""> #rsync -avz -e ssh \u2013exclude-from=\u201d\/home\/exclude.txt\u201d \/home root@remoteserverip:\/home <\/pre>\r\n\r\n\r\n\r\n<p><strong>Finalizing the migration<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Doing one pass got the more static files over to the new server. That\u2019s good, but that may not be everything you needed to copy. An active database or a directory where a lot of files get created and deleted may have been copied but changed already. Or, more practically, they may have been in your exclude file.<\/p>\r\n\r\n\r\n\r\n</p><p>To get those last files you\u2019ll want to bring the services that use them down. That way you know the entire file will be migrated with no changes made after your last sync.<\/p>\r\n\r\n\r\n\r\n</p><p>Edit your exclude file to remove references to the busy files you were holding off on then run the rsync command again.<\/p>\r\n</p><p>If this article helps you, please share your valuable comments.<\/p>\r\n</p><p>For,\u00a0Configuring FTP Passive ports range in cPanel server : <a href="">Click here<\/a><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1053,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[20],"tags":[123,124],"class_list":["post-1048","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps","tag-cpanel-migration","tag-cpanel-to-cpanel-migration"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/CPtoCP.jpg?fit=640%2C240&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9NOHH-gU","jetpack-related-posts":[{"id":2065,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/migrating-from-cpanel-to-directadmin\/","url_meta":{"origin":1048,"position":0},"title":"Migrating from cPanel to DirectAdmin: What You Need to Know","author":"Cavin","date":"October 20, 2024","format":false,"excerpt":"Migrating from cPanel to DirectAdmin - Migrating from one control panel to another can be a daunting task, especially when it comes to transferring websites, databases, email accounts, and DNS settings. If you\u2019re planning to migrate from cPanel to DirectAdmin, you\u2019re likely looking for a cost-effective and resource-efficient alternative. DirectAdmin\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/migrating-from-cpanel-to-directadmin.jpg?fit=991%2C515&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/migrating-from-cpanel-to-directadmin.jpg?fit=991%2C515&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/migrating-from-cpanel-to-directadmin.jpg?fit=991%2C515&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/10\/migrating-from-cpanel-to-directadmin.jpg?fit=991%2C515&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2032,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/change-user-password-from-whm\/","url_meta":{"origin":1048,"position":1},"title":"Change user password from WHM","author":"Cavin","date":"September 29, 2024","format":false,"excerpt":"Change user password from WHM - WHM (Web Host Manager) is a web-based tool provided by cPanel that allows administrators and resellers to manage hosting accounts on a server. It is mainly used by web hosting companies or system administrators to manage various aspects of server administration. Key Features of\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"Change user account password from WHM","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-29-224830.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1194,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/cpanel-logs\/","url_meta":{"origin":1048,"position":2},"title":"cPanel Logs &#8211; Apache, Access, Email, Error, FTP, MySQL, WHM","author":"Cavin","date":"February 19, 2019","format":false,"excerpt":"cPanel Logs - Apache, Access, Email, Error, FTP, MySQL, WHM cPanel uses a graphical interface to make web hosting super easy, but there are command line tools you could familiarize yourself with for advanced troubleshooting. cPanel logs most activity that happens on a server to log files so you can\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/cpanel\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/cpanel-logs.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/cpanel-logs.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/cpanel-logs.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":753,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/domain-already-exists-error\/","url_meta":{"origin":1048,"position":3},"title":"Domain already exists error while adding a subdomain or addon domain in cPanel","author":"Cavin","date":"March 5, 2018","format":false,"excerpt":"Domain already exists error while adding a subdomain or addon domain in cPanel In this blog we are going to see a\u00a0 very common error when adding an addon or parked domain via cpanel. This error we see is usually very generic and doesn\u2019t provide any information such as \u201ccannot\u2026","rel":"","context":"In &quot;WHM&quot;","block_context":{"text":"WHM","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/whm\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/03\/cPanel.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/03\/cPanel.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2018\/03\/cPanel.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":558,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/tips-securing-cpanel-server\/","url_meta":{"origin":1048,"position":4},"title":"Tips for securing your cPanel server","author":"Cavin","date":"July 21, 2017","format":false,"excerpt":"In this tutorial we are going to see, how to secure our cPanel\/WHM installed server. Use Secure Passwords Insecure passwords are one common security vulnerability. If an account password is insecure and compromised client sites can be defaced, hacked and valuable data can be stolen. Always change your password as\u2026","rel":"","context":"In &quot;LINUX&quot;","block_context":{"text":"LINUX","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/tips-cpanel.jpg?fit=640%2C260&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/tips-cpanel.jpg?fit=640%2C260&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2017\/07\/tips-cpanel.jpg?fit=640%2C260&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":1139,"url":"https:\/\/www.webhostingchennai.co.in\/blog\/pyxsoft-antimalware-guide\/","url_meta":{"origin":1048,"position":5},"title":"Pyxsoft AntiMalware : Installation and Configuration (Step by Step Guide)","author":"Cavin","date":"March 7, 2019","format":false,"excerpt":"Pyxsoft AntiMalware : Installation and Configuration (Step by Step Guide) Pyxsoft antimalware Plugin for cPanel\/WHM protects your server from attacker scripts such as c99shell, r57shell, ANIShell, and hundreds more. It is a real-time Anti Malware for cPanel\/WHM. Attackers can take control of your servers or can damage your customer\u2019s data\u2026","rel":"","context":"In &quot;VPS&quot;","block_context":{"text":"VPS","link":"https:\/\/www.webhostingchennai.co.in\/blog\/category\/vps\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/pyxsoft.jpg?fit=640%2C240&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/pyxsoft.jpg?fit=640%2C240&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.webhostingchennai.co.in\/blog\/wp-content\/uploads\/2019\/02\/pyxsoft.jpg?fit=640%2C240&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/1048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/comments?post=1048"}],"version-history":[{"count":21,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/1048\/revisions"}],"predecessor-version":[{"id":1117,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/posts\/1048\/revisions\/1117"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/media\/1053"}],"wp:attachment":[{"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/media?parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/categories?post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhostingchennai.co.in\/blog\/wp-json\/wp\/v2\/tags?post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}</p></a></p></strong></p></pre></strong></p></strong></p></blockquote></pre></strong></p></a></p></strong></p></blockquote></strong></p></a></p></strong></p></strong></p></strong></p></strong></p></a></p></strong></p></strong></p></strong></p></span></h4>