Change of IP address for one domain

ar4

Registered
Feb 6, 2018
4
0
1
Poland
cPanel Access Level
Root Administrator
Hi,
I have 10 IP addresses connected to the server. The customer has 10 domains on one account. How do I change the IP address for 1 domain? How to set different IP addresses for each domain?
 

MikeBeasley

Member
Mar 21, 2017
12
1
78
Houston, TX
cPanel Access Level
Root Administrator
Provided you're referring to a single cPanel account and not a reseller account with 10 resold accounts, there is no built in support for setting unique IP addresses for addon, sub or parked domains under a single cPanel account.

You would have to edit the /var/cpanel/userdata/$user/$domain file(s) and set a different IP address for each of the other domains, rebuild the userdata files and httpd.conf and then change the A record(s) in the corresponding DNS zone files to reflect the desired IP address.