- This line was added.
- This line was removed.
- Formatting was changed.
|This function returns the public IP address for a specified public or private IP address.|
You can use this function to determine the system's main public IP address, especially for systems that use a 1:1 NAT configuration.
- cPanel & WHM uses the main public IP address to perform many different functions. For example, the system uses this IP address to verify the server's license status with cPanel, Inc.
- System administrators can configure the main public IP address in WHM's Basic WebHost Manager Setup interface (Home >> Server Configuration >> Basic WebHost Manager Setup).
The IP address to query.
The public IP address.
|A valid public IPv4 address.|
About WHM API 1
Find a function