Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change IP address to localhost for server?

Discussion in 'General Discussion' started by OpenSol, Feb 13, 2019.

  1. OpenSol

    OpenSol Registered

    Joined:
    Feb 13, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Kuala Lumpur, Malaysia
    cPanel Access Level:
    Root Administrator
    Dear All,

    I am new to cpanel. I have recently setup a mew centos and cpanel 76 on the new VM. I hit a problem where the cpanel is using my Public IP as the host IP instead of the localhost IP.

    New server is 1:1 NAT behind firewall.

    Questions:

    a. How to make cpanel uses the local host IP (Private IP) instead of public IP?

    Appreciate if anyone can lead me to resolve the network issue. Many thanks
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @OpenSol

    If you run the following does it pick up the NAT routing configuration?


    Code:
    /scripts/build_cpnat
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice