How to add a dedicated IP to a subdomain or addon domain

ARUN Post in SSL, WHM BACKEND
0

cd /var/cpanel/userdata/UN/

vi your_subdomain.domain.com

(  For addon domain edit   addon.domain.com  )

Change the IP field and add the new IP

ip: NEW_IP_ADDRESS
Save and exit
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
Change the DNS entry and reserve the IP address so its not used via WHM to any other domains in future.
To reserve the Ip follow the documentation below : http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/ShowEditReserved
OR in NEW WHM
WHM >> Show/Edit Reserved IPs >> Check the IP box and give the reason.
Click Save.
« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.