I'm using static IP but WHM use dynamic IP DHCP
Hello There,
I've installed WHM on Centos 7 at azure VM server and I'm using a static IP address at azure, but for no reason, WHM uses a dynamic IP address DHCP!
so is there is a way to change this?
Installation guide from cPanel & WHM on Microsoft Azure | cPanel Blog
when I run ip addr
ip route default via 10.0.0.1 dev eth0 Regards
2: eth0:
inet 10.0.0.4/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever
ip route default via 10.0.0.1 dev eth0 Regards
-
There is nothing in cPanel & WHM that would configure the server to use a dynamic IP address. The configuration you have set up would use a Private IP that translates to a Public IP. What is the output of the following? /scripts/build_cpnat
Please ensure you don't add the actual public IP address in your response.0 -
There is nothing in cPanel & WHM that would configure the server to use a dynamic IP address. The configuration you have set up would use a Private IP that translates to a Public IP. What is the output of the following?
/scripts/build_cpnat
Please ensure you don't add the actual public IP address in your response.
info [build_cpnat] 10.0.0.4 => 5x.1xx.23x.1x0 ( Public server IP ) Thanks Lauren0 -
So in your cPanel/WHM interfaces, you should see the public IP being represented and your sites should all resolve to the public IP - is that the case or is it still changing? 0
Please sign in to leave a comment.
Comments
3 comments