Sunday, September 25, 2011

cPanel-WHM Packages :: Modify default dedicated IP setting

August 29, 2009 by  
Filed under cPanel

Leave a Comment

When you setup a new package in cPanel/WHM, you can set whether the hosting accounts of this package will get dedicated IP or not. That means, when you check the Dedicated IP box, any new account created of that package will get a dedicated IP address. However, in future, we you need to modify this setting, you indeed can’t as in Package Edit mode that field is read only. Suppose, you have selected to allocate dedicated IP for all new accounts of that package initially and after a certain time, you changed you mind not to give any free IP to that package owners.

Though you can’t change it using WHM’s package editing feature, you can do it from command line. You must have root access to server.

  • Login to shell as root
  • Let assume, the package name is myreseller_unlimited. cPanel stores package info in /var/cpanel/packages. So, run the following command:
    vi /var/cpanel/packages/myreseller_unlimited
  • You will get editing window. You can edit the package settings from here. For removing dedicated IP from this package, find the lin IP=y. Then replace the y with n (move the cursor on y then press r then press n). That means, it should look like:
  • Then save the file (Press Esc, then press )

You are done. New accounts will not have dedicated IP by default, it will not remove the current IP allocation either. You have to do using the tools in IP Functions section of WHM navigation.

If you are a reseller and (obviously) you don’t have root access, just contact your server support for the same. They will take care of the rest.

GD Star Rating
a WordPress rating system
cPanel-WHM Packages :: Modify default dedicated IP setting, 7.7 out of 10 based on 3 ratings
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Related posts:

  1. Modify Apache default success page
  2. Default (catchall) email address setup in cPanel
  3. What is cPanel?
  4. Installing PostgreSQL on cPanel Server
  5. Configuring your Firewall for Webmin

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!
Click here to cancel reply.