Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more ? please check our Monthly server support plans

To add dedicated IP for addon/sub-domain in cpanel do the following steps,

Step 1.

Login to the server via ssh

Step 2.

Edit the virtualhost file from location,


Search for the line with the current IP address and edit it to the required IP and save the file.

Step 3.

Run the below command,


Step 4.

Now login to WHM and go to,

 Main >> DNS Functions >> Edit DNS Zone

Select the desired domain and click on edit

Step 5.

Update the A record to the new IP and save it

Step 6.

Restart apache and dns server.

Also if you want to reserve the new IP only for your account, then you can do that from,

 Main >> IP Functions >> Show/Edit Reserved IPs.

So that no other domains will use this IP.

Need our help to fix the issue ? Submit Support Ticket Now


[button size=”large” color=”green” title=”Server Administration Services from Stack Supports” link=””]View Server Administration Packages[/button]