How to Add IP Addresses to Server with cPanel WebHost Manager (WHM)

»»»How to Add IP Addresses to Server with cPanel WebHost Manager (WHM)
cPanel WebHost Manager (WHM) allows system administrators or webmasters to easily add additional new IP address to the server or web host. If your dedicated server or VPS (Virtual Private Server) comes with extra IP addresses, and your web hosting provider does not assign and configure the IP addresses automatically onto the server, the following guide describes procedures and steps to add more IP addresses to the server.

  1. Login to cPanel WebHost Manager (WHM) on the server.
  2. On the left pane, navigate to IP Functions menu, and then click on Add a New IP Address link.

    Add IP Address in WHM

  3. Enter the IP address in the IP(s) to add field. Although the link says A IP Address, you can easily submit multiple or more than one IP addresses to be added to the server at once. For more than 1 IP address, specify in Class C CIDR format or 192.168.0.1-254 format. For example, 192.168.4.128/25, 192.168.3.5-10, 192.168.99.55-230.
  4. Alter the subnet mask default value of 255.255.255.0 to the valid value for the IP address(s) in the Subnet Mask field, if required. Normally this value will be provided by your hosting provider.
  5. Click on Submit button (for cPanel 11) or Do it (for cPanel 10 or older).

    Add IP Address in WHM

  6. cPanel will add each IP address per line into /etc/ips config file. You can now use the new additional IP addresses just added to host your websites.
  7. Note that IPs are configured by using IPaliases cPanel startup script located in /etc/init.d/ipaliases. If you turn off the service (it’s enabled by default), cPanel won’t be able to manage the IPs automatically at system boot.

    So, if you don’t see your new IP addresses after adding it, try to restart IPaliases service. Login to server OS shell via SSH, and run the following command:

    service ipaliases restart

By | 2016-12-09T08:39:39+00:00 December 9th, 2016|Categories: Web Servers|Tags: |6 Comments

About the Author:

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years.Connect with LK through Tech Journey on Facebook, Twitter or Google+.
  • Thanks for this tutorial

  • strela

    David Freer (VP, Symantec Consumer Business Units – Norton, APJ) is a BIG LIAR! He lied to me for more than two and half years for my true feelings, time, and money. Also kept saying I am the only one in his life. Even this year on Feb. 2, he used company line to lead me to have phone sex with him. Until I found out there’s some other woman, he made up another lie and finally admitted he’s been living with her for a year. Later, I realized they were all lies. He actually has married March 2009. And now he just totally disappeared and not answering any phone calls, acting like “hit & run” irresponsible baby. Can you trust someone like this, with no ethics and integrity? The more unbelievable things is David Freer newly-wed wife – SUZY WALSHAM, she shamefully admitted she was the third person who broke up David Freer & his ex 12 years relationships, and mocking at me as the 3rd "unsuspected" person, as she agreed with his husband’s behaviors!!!!!! SHAME ON both of you, DAVID FREER & SUZY WALSHAM!!!!!!! (THEY BOTH WORK FOR SYMANTEC)

    • Harry

      Get a life!!!!

    • Binder

      Why the fuck are you posting this shit here and who the fuck is David Freer, more strange is why the fuck should I care about him and you?

  • ETF

    My hosting company gave me 10 cclass ips but no real clear instruction on how to add them in WHM. Luckily I found it here! Thanks for the help.

  • hallo folks,
    i have a little know how problem here.
    my ISP is alocateing the public IP adress using DHCP by physical adress.
    So i have 1 IP on that MAC.
    Is it possible to alocate more then 1 IP adress on 1 MAC?

Pin It on Pinterest

Share This

Share This

Share this post with your friends!