When you obtain a new IP address that you would like to use on the server, you should add the address through the control panel, as Plesk might not recognize manual modifications you make to the network configuration files.
With Plesk you can mark all your IP addresses as shared or dedicated before you assign them to your customers. This allows the control panel to distinguish between them and not to let you assign a dedicated IP address to several customers at once. A dedicated IP address can be assigned to a single customer, while a shared IP address can be shared among several user accounts.
If you Plesk server is behind a hardware firewall utilizing private IP addresses (192.168.xxx.xxx or 10.0.0.x), then you will not have to complete any of the steps below other than updating the DNS settings of the domain. The instructions for updating DNS are located in Step 5.
1) Identify the IP addresses that are to be changed out, where the IPs is assigned to, and how the IP is assigned.
- Go to Server > IP Addresses.
Your IP addresses are listed and the following supplementary information is given:
- An icon in the S (Status) column shows if your IP address is properly configured on the network interface. If your IP address was removed from the network interface, an icon will show.
- An icon in the T (Type) column shows if an address was allocated to a single customer as a dedicated IP address, and if an address is shared among many customers.
- The IP address, Subnet Mask and Interface columns show which IP addresses are on which network interfaces.
- The Clients column shows the number of user accounts who you assigned a given IP address. To view the users by names, click the respective number in the Clients column.
- The Hosting column shows a number of web sites hosted on an IP address. To view the domain names of these web sites, click the respective number in the Hosting column.
2) Add the IP address and or addresses to the server.
- Go to Server > IP Addresses and click Add New IP Address.
- Select the network interface for the new IP from the Interface drop-down box. All network cards installed on your server are shown in this drop-down box.
- Enter the IP address and subnet mask in the corresponding box (e.g., 18.104.22.168/16).
- Select the type of the new IP address, shared or exclusive, using the IP type radio button.
- From the drop-down box, select the SSL certificate for the new IP address. You can select the following certificates:
- Default certificate - the certificate that comes with the Plesk distribution package. However, this certificate is not recognized by web browsers as it is not signed by a Certificate Authority (a warning message appears). The default certificate is used to provide access to the control panel via the https protocol (https://
- Other certificates - the certificates (self-signed or signed by a Certificate Authority) that you added to the repository of SSL certificates (about adding certificates, see the Securing Sites with SSL encryption section).
- Click OK.
3) Now you will need to assign the newly added IP address to a specific user and or client.
- Go to Server > IP Addresses and click the respective number in the Clients column, then click Add New Client.
- Select the user account you need and click OK
4) Once the IP is assigned, domains on the former IP address need to be updated to the new IP address. You should already have a list of domains that will require the change in IP from step 1.
- Go to Domains > Domain name to update > Website Setup.
- Once in the Website Setup you will click on the drop down menu and select the newly added IP address that is the new IP of the domain.
- Scroll to the bottom of the page and select Save.
5) Updating DNS.
- If you are hosting DNS on your server via Plesk, then DNS will automatically be updated when the new IP is assigned via Website Setup.
- If you are hosting DNS externally, you will want to update the A records for the following records.
i. @ or * A records should be updated to the new IP address.
ii. Mail.domain.com should be updated to the new IP address.
6) Restart Plesk
- Login to your server via SSH with the root user credentials.
- Type the following command “service psa stop”, hit enter.
- Type the following command “service psa start”, hit enter.
- Wait for confirmation that all services restarted. You may receive an error for Dr. Web; however if you have not purchased a license specifically for Dr. Web, this is normal to receive a “failed” response.
7) Allow your previous IP address to still respond to requests for your most important domain, previously assigned to the IP address that will be removed from your account.
- Go to Server > IP Addresses and click the respective number in the Hosting column. All sites hosted on this IP will be listed.
- Select the site you need and click Set as Default.
8) Verify that DNS has propagated after 6 to 48 hours.
- Visit http://www.whatsmydns.net/
- Enter the domain name you are checking.
- Leave the drop down menu as “A”.
- Click Search
- Verify that you show the newly assigned IP address for your domain and that you see a green checkbox next to each location.
9) Remove the IP address from the User and or Client settings.
- Go to Server > IP Addresses and click the respective number in the Clients column.
- Select the respective check box and click Remove Selected.
- Confirm removal and click OK.
10) Remove the old IP address from your server.
- Login to your server via SSH or RDP.
- Type the following command, without quotes, in the command line of SSH or via the CMD interface on Windows. "/usr/local/psa/bin/ipmanage –r
- If performing on a Linux machine, restart network services. In Fedora Core or Cent OS machines, the command is "service network restart".
This article has been provided by Codero Hosting, the leading provider of reliable dedicated, managed and cloud hosting services. Need more information on this topic or to learn more about Codero’s hosting services please visit www.codero.com, chat with us online or give us a call at 866-2-CODERO.