How to add dedicated IP to parked/addon domain in cPanel?

Follow the below steps to assign a dedicated IP to either a parked/addon domain in case of cpanel servers.

  1. Edit DNS zone of addon to point it to the new IP and also change the subdomain IP to that same IP. This can be done from WHM.
  2. Edit the file /var/cpanel/userdata/username/ file, change the IP and save it.
  3. # /scripts/rebuildhttpdconf
  4. # service httpd restart
  5. Login to WHM and generate a CSR from the ” Generate a SSL Certificate and Signing Request” link.
  6. After you have the certificate, click on the “Install a SSL Certificate and Setup the Domain” link and paste the crt into the top box.
  7. When you tab or click off of the text box WHM will auto fill the other values and I was surprised to find it used the correct IP address and username right off.  So just verify the values are correct and then click submit.


There are no revisions for this post.

Tags: , , , ,

No comments yet.

Leave a Reply