cPanel-WHM Packages :: Modify default dedicated IP setting
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:
IP=n - 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.
a WordPress rating system
Related posts: