I have an application that uses th cpanel API. I would like to make those API request from my internal network. I've set everything up to do some testing but I can't seem to connect to the API over the internal network.
Does anyone know how to configure cPanel to accept these requests. The setup is as followed:
cPanel config
eth0 -> primary IP
eth1&2 -> local network to communicate with our private cloud
eth3 -> 172.16.0.40 (the local network that I would like to use
Application Server Config:
eth0 -> primary IP
eth1&2 -> local network to communicate with our private cloud
eth3 -> 172.16.0.100 (the local network that I would like to use
/etc/hosts on the application server
174.16.0.40 hostname serverxx.domain.com
I can ping the cpanel server from the application server using it's FQDN but when I connect to the API or try to curl the WHM login url I get no return.
What could be causing this?
Does anyone know how to configure cPanel to accept these requests. The setup is as followed:
cPanel config
eth0 -> primary IP
eth1&2 -> local network to communicate with our private cloud
eth3 -> 172.16.0.40 (the local network that I would like to use
Application Server Config:
eth0 -> primary IP
eth1&2 -> local network to communicate with our private cloud
eth3 -> 172.16.0.100 (the local network that I would like to use
/etc/hosts on the application server
174.16.0.40 hostname serverxx.domain.com
I can ping the cpanel server from the application server using it's FQDN but when I connect to the API or try to curl the WHM login url I get no return.
What could be causing this?