{"id":977,"date":"2021-07-23T12:42:36","date_gmt":"2021-07-23T12:42:36","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/ip-migration-wizard\/"},"modified":"2021-07-23T12:42:36","modified_gmt":"2021-07-23T12:42:36","slug":"ip-migration-wizard","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/ip-migration-wizard\/","title":{"rendered":"IP Migration Wizard"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 90 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<h4>90<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>The <em>IP Migration Wizard<\/em> helps you to change the IP addresses of the cPanel accounts that your server hosts. You can also use the <em>IP Migration Wizard<\/em> to change your server\u2019s primary IP address. This feature is very useful if you move your server to different subnet or another datacenter.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>We recommend that you do <strong>not<\/strong> add new cPanel accounts during the IP address migration. This ensures that any new accounts will use the new IP addresses.<\/li>\n<li>This change will take about 48 hours to complete, because DNS records across the internet need time to update. If you must undo this process, it will take another 48 hours to undo.<\/li>\n<\/ul><\/div>\n<\/div>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>This feature updates your server\u2019s configuration files; however, it does <strong>not<\/strong> bind new IP addresses. To bind a new IP address, use WHM\u2019s <em>Add a New IP Address<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; IP Functions &gt;&gt; Add a New IP Address<\/em>).<\/li>\n<li>If your server runs behind a Network Address Translator (NAT) you <strong>must<\/strong> enter the private IP address instead of the corresponding public IP address. For example, you would use <code>192.168.1.2<\/code> instead of <code>208.74.121.102<\/code>.<\/li>\n<\/ul><\/div>\n<\/div>\n<h2 id=\"change-the-ip-addresses-of-all-cpanel-accounts-on-your-server\">Change the IP addresses of all cPanel accounts on your server<\/h2>\n<p>To change the IP addresses of multiple accounts, perform the following steps:<\/p>\n<h3 id=\"step-1-enter-the-new-ip-addresses\">Step 1: Enter the new IP addresses<\/h3>\n<ol>\n<li>Enter new IP addresses in the text box.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>Enter individual IP addresses on separate lines.<\/li>\n<li>You may use CIDR notation to enter multiple IP addresses (for example, <code>192.168.0.20\/25<\/code>).<\/li>\n<\/ul><\/div>\n<\/div>\n<\/li>\n<li>Click <em>Continue<\/em> to begin Step 2.<\/li>\n<\/ol>\n<h3 id=\"step-2-confirm-the-translation\">Step 2: Confirm the translation<\/h3>\n<ol>\n<li>Read all of the information in the interface to ensure that it is correct.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>The wizard assigns a new IP address for each IP address that is currently on the server.<\/li>\n<li>If you enter more new IP addresses than the current number of IP addresses, the system discards the extra new IP addresses.<\/li>\n<li>If you enter fewer IP addresses than the current number of addresses, the system assigns all available new IP addresses and display an editable text box for accounts that require a new IP address. If you do not enter addresses in the empty text boxes, those accounts will retain their old IP addresses.<\/li>\n<\/ul><\/div>\n<\/div>\n<\/li>\n<li>Click <em>Continue<\/em> to begin Step 3.<\/li>\n<\/ol>\n<h3 id=\"step-3-download-the-translation-matrix\">Step 3: Download the translation matrix<\/h3>\n<ol>\n<li>If you wish to view a list of each domain\u2019s administrator username, old IP address, and new IP address, right-click <em>Click Here to Download a IP Translation Matrix<\/em>, and then click <em>Save Link As<\/em>.<\/li>\n<li>Click <em>Continue<\/em> to begin Step 4.<\/li>\n<\/ol>\n<h3 id=\"step-4-convert-the-configuration-files\">Step 4: Convert the configuration files<\/h3>\n<p>In this step, the system updates the following files:<\/p>\n<ul>\n<li>The Apache configuration file.<\/li>\n<li>The FTP server configuration file.<\/li>\n<li>The cPanel internal data files.<\/li>\n<\/ul>\n<p>The system changes the Apache configuration file to include both the old and new IP addresses for each virtual host. This allows visitors to access the website through both the updated DNS records and the old, cached IP address.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        We recommend that you watch for and take note of any error messages during this step.\n    <\/div>\n<\/div>\n<p>Click <em>Continue<\/em> to begin Step 5.<\/p>\n<h3 id=\"dns-migration\">DNS Migration<\/h3>\n<p>This step updates the DNS zone files, then automatically takes you to the next interface<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        We recommend that you watch for and take note of any error messages during this step.\n    <\/div>\n<\/div>\n<h3 id=\"step-6-wait-48-hours\">Step 6: Wait 48 hours<\/h3>\n<p>Log out of WHM and wait 48 hours for DNS records to propagate. When 48 hours is over, navigate to WHM\u2019s <em>IP Migration Wizard<\/em> interface (<em>Home &gt;&gt; IP Functions &gt;&gt; IP Migration Wizard<\/em>) and then click <em>Click Here<\/em> to proceed to Step 7.<\/p>\n<h3 id=\"step-7-additional-steps-to-clear-the-old-ip-addresses\">Step 7: Additional steps to clear the old IP addresses<\/h3>\n<p>In this step, the wizard removes the old IP addresses from the Apache configuration file. When this process finishes, click <em>Click Here<\/em>. A new interface will appear to announce that the IP address migration process is complete.<\/p>\n<p>To completely remove the old IP addresses, perform the following steps:<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        We recommend that system administrators take note of any error messages during the update.\n    <\/div>\n<\/div>\n<h4 id=\"step-7a-remove-the-old-ip-addresses-from-this-system\">Step 7a: Remove the old IP addresses from this system<\/h4>\n<p>Click the <em>Show or Delete Current IP Addresses<\/em> link to open the interface in a new window in order to remove the old IP addresses.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        You can <strong>only<\/strong> delete IP addresses that you created with WHM\u2019s <em>Add a New IP Address<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; IP Functions &gt;&gt; Add a New IP Address<\/em>). You <strong>cannot<\/strong> remove IP addresses that the operating system controls.\n    <\/div>\n<\/div>\n<h4 id=\"step-7b-update-your-system-s-startup-scripts-to-reflect-the-new-main-ip-address\">Step 7b: Update your system\u2019s startup scripts to reflect the new main IP address<\/h4>\n<p>Your system\u2019s startup scripts assign the IP address that the system uses as the primary network interface. Your operating system determines how these scripts are configured. At the command line, run the <code>ifconfig -a<\/code> command to see your current IP address and the interface to which your IP address is assigned.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        For a virtual server, your hosting provider <strong>must<\/strong> configure the primary network interface in the container configuration.\n    <\/div>\n<\/div>\n<p>To assign your new IP address to the primary network interface on a dedicated server, perform the following steps:<\/p>\n<ol>\n<li>Edit the proper file in the <code>\/etc\/sysconfig\/network-scripts\/<\/code> directory to remove the old IP address and add the new one.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        For a dedicated server, <code>eth0<\/code> is the most common primary network interface.\n    <\/div>\n<\/div>\n<\/li>\n<li>Restart the network with the <code>\/etc\/init.d\/network restart<\/code> command.\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        We recommend that you have a technician available at the server console to address any issues that may occur during the restart.\n    <\/div>\n<\/div>\n<\/li>\n<li>After the network service restarts, run the <code>ifconfig<\/code> and <code>ping<\/code> commands to verify that all of the IP addresses are available.<\/li>\n<\/ol>\n<h4 id=\"step-7c-change-your-licensed-ip-address\">Step 7c: Change your licensed IP address<\/h4>\n<p>You <strong>must<\/strong> perform this step <strong>immediately<\/strong> after you complete the previous step. Until you complete this step, the cPanel, WHM, WebDAV, and Webmail interfaces will <strong>not<\/strong> be available. Websites, FTP, and email services through desktop mail clients will not be affected.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        The instructions below are for cPanel, L.L.C. direct customers only. If you did not purchase your license directly from the cPanel, L.L.C., you <strong>must<\/strong> contact your licensing provider. For more information, visit the cPanel &#038; WHM License Verification website.\n    <\/div>\n<\/div>\n<ol>\n<li>Log in to your cPanel Store account.<\/li>\n<li>Under <em>Orders<\/em>, click <em>View My Licenses<\/em>. The <em>Manage Licenses<\/em> interface will appear.<\/li>\n<li>Under <em>Actions<\/em>, click the pencil icon. A new interface will appear.<\/li>\n<li>Click <em>Edit IP<\/em>.<\/li>\n<li>Enter the new IP address.<\/li>\n<li>Click <em>Save Changes<\/em>.<\/li>\n<\/ol>\n<h4 id=\"step-7d-configure-whm-to-use-the-new-ip-address-for-new-accounts\">Step 7d: Configure WHM to use the new IP address for new accounts<\/h4>\n<p>After you click <em>Server Setup<\/em>, WHM\u2019s <em>Basic WebHost Manager Setup<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Server Configuration &gt;&gt; Basic WebHost Manager Setup<\/em>) appears in a new window. To configure the shared IP address, perform the following steps:<\/p>\n<ol>\n<li>Click the <em>Basic Config<\/em> tab.<\/li>\n<li>In the <em>The IP address (only one address) that will be used for setting up shared IP virtual hosts<\/em> text box, enter the new IP address that the system will use for shared IP virtual hosts.<\/li>\n<li>Click <em>Save Changes<\/em>.<\/li>\n<\/ol>\n<p>If you have set a different main IP address for your resellers, you <strong>must<\/strong> change the IP address in WHM\u2019s <em>Reseller Center<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Resellers &gt;&gt; Reseller Center<\/em>).<\/p>\n<p>To update the main IP address for a reseller in the <em>Reseller Center<\/em>, perform the following steps:<\/p>\n<ol>\n<li>Click <em>Manage Main Shared\/IP-less IP<\/em>.<\/li>\n<li>Select the reseller that you wish to modify from the menu.<\/li>\n<li>Click <em>Submit<\/em>.<\/li>\n<li>Select the desired IP address from the menu.<\/li>\n<li>Click <em>Save<\/em>.<\/li>\n<\/ol>\n<h4 id=\"step-7e-ensure-dns-and-reverse-dns-are-configured-properly\">Step 7e: Ensure DNS and reverse DNS are configured properly<\/h4>\n<p>Your hosting provider will need to help you set the reverse DNS entries for your server. However, your new main IP address should already point back to the server\u2019s hostname. To ensure that your hostname points to your new main IP address, navigate to WHM\u2019s <em>DNS Zone Manager<\/em> interface (<em>WHM<\/em> &gt;&gt; <em>Home<\/em> &gt;&gt; <em>DNS Functions<\/em> &gt;&gt; <em>DNS Zone Manager<\/em>).<\/p>\n<h4 id=\"step-7f-revise-custom-configurations\">Step 7f: Revise custom configurations<\/h4>\n<p>If you have custom configurations in WHM, you <strong>must<\/strong> ensure that your configurations do not use the old main IP address.<br \/>\nFor example, you may need to update the following customizations:<\/p>\n<ul>\n<li>Custom sender IP addresses for Exim in the <code>\/etc\/mailips<\/code> file.<\/li>\n<li>Custom DNS templates in WHM\u2019s <em>Edit Zone Templates<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; DNS Functions &gt;&gt; Edit Zone Templates<\/em>).<\/li>\n<\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 90 through the latest version Version: 82 90 Overview The IP Migration Wizard helps you to change the IP addresses of the cPanel accounts that your server hosts. You can also use the IP Migration Wizard to change your server\u2019s primary IP address. This feature is very useful if you move your &hellip;<\/p>\n","protected":false},"author":1,"featured_media":978,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/977"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=977"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/977\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/978"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}