Skip to main content

IP address related links in WHM throwing errors

Comments

5 comments

  • 24x7server
    Hello, I think your /var/cpanel/cpnat file is corrupted and may be due to that you are getting this issues, Can you please try to rebuild it with following command.
    /scripts/build_cpnat
    0
  • cPanelMichael
    Hello :) Yes, please check to see if the following file exists: /var/cpanel/cpnat It should have been created during the initial setup of the server, but if not, you can try generating it via:
    /scripts/build_cpnat
    Ensure the account is assigned the private IP address after 1:1 NAT is enabled. Thank you.
    0
  • meeven
    @24x7server and @cPanelMichael, thank you for the helpful suggestions. After some search on the forums, I found this post, which resolved the issue:
    0
  • meeven
    Ensure the account is assigned the private IP address after 1:1 NAT is enabled.

    I just noticed this and it seems like an important tip. Does this mean that, on a NAT system, one has to assign each cPanel account the private IP address rather than the public IP/shared main IP of the server?
    0
  • TerranceR
    Hello, When you add the IP Address(es) via the interface within WHM; if you are using 1:1 NAT you should add the Internal IP Address within WHM, cPanel will automatically make Apache use the appropriate IP from there
    0

Please sign in to leave a comment.