muriel6060

Member
PartnerNOC
Feb 25, 2016
6
0
1
Brazil
cPanel Access Level
Root Administrator
Our first problem was creating a new Domain, when created, the DNS was pointed to the NAT and not to the Public IP address.

So, we had to substitute the private IP for the Public IP in Cpanel in the Zone File.

However, after we changed this configuration at /etc/wwwacct.conf adding 'ADDR - serverIP', everything goes okay, but now when we create a new domain, our Apache starts to point to the external IP address at httpd.conf, therefore, we have to change the file and fix the IP pointing to the internal IP address every time a new domain is created.

Is anyone having the same problem?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

muriel6060

Member
PartnerNOC
Feb 25, 2016
6
0
1
Brazil
cPanel Access Level
Root Administrator
@cPanelMichael Hello, I'm facing problems with NAT IP.
After created an account, it shows the NAT IP for that account, with is correct, but when I check the DNS for the same account, it shows the same NAT IP, where it should be my external IP, how can I fix that?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
After created an account, it shows the NAT IP for that account, with is correct, but when I check the DNS for the same account, it shows the same NAT IP, where it should be my external IP, how can I fix that?
Do you have a corresponding public IP address associated with the private IP address in the /var/cpanel/cpnat file? You can read the contents of this file with a command such as:

Code:
cat /var/cpanel/cpnat
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.