SOLVED Add elastic ips from AWS to WHM?

mekatech

Member
Aug 11, 2016
12
1
3
Dominican Republic
cPanel Access Level
Root Administrator
yes bro, when i allocate a new elastik ip and assing it to whm via add ip, then i add it to the site and it doesnt work, i let the site propagates for more than 24 hours but nothing, i dont know if it have to be with aws intance network interface, thank in advance
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello @mekatech,

Did you add the public IP address or the private IP address?

If you've already setup and assigned the IP address using the instructions from Amazon's documentation, then you should be able to add the private IP address using WHM >> Add a New IP Address. Since your server will be in NAT mode, ensure to review the following document for information about how that works:

1:1 NAT - Version 70 Documentation - cPanel Documentation

Let us know if you have any questions or encounter any issues adding the IP address.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
elastik ips are private ips, i tried adding to whm and appears on whm, but when i change a site ip address it never propagates
Hello,

By "private" IP address, can you confirm that you mean the local IP address (e.g. 10.1.1.1 and not the publicly accessible IP)? If so, can you run the following command and let us know if it helps:

Code:
/scripts/build_cpnat
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello,

Can you run the following command and let us know if it helps:

Code:
/scripts/build_cpnat
If not, please open a support ticket so we can take a closer look at the affected system. You can post the ticket number here and we will link this thread to the ticket.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
Hello @mekatech,

Can you let me know the ticket numbers?

Thank you.
 

mekatech

Member
Aug 11, 2016
12
1
3
Dominican Republic
cPanel Access Level
Root Administrator
Hello,

Can you run the following command and let us know if it helps:

Code:
/scripts/build_cpnat
If not, please open a support ticket so we can take a closer look at the affected system. You can post the ticket number here and we will link this thread to the ticket.

Thank you.
after changing the site ip can only see the root directory [removed]
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,917
2,248
363
after changing the site ip can only see the root directory [removed]
Hello @mekatech,

Can you let us know the full steps you took to change the account's IP address? Also, note your support ticket was closed back on June 6th, so please feel free to open a new one and reference the ticket number here if you'd like us to take a closer look at the system.

Thank you.
 

mekatech

Member
Aug 11, 2016
12
1
3
Dominican Republic
cPanel Access Level
Root Administrator
Hello @mekatech,

Can you let us know the full steps you took to change the account's IP address? Also, note your support ticket was closed back on June 6th, so please feel free to open a new one and reference the ticket number here if you'd like us to take a closer look at the system.

Thank you.
i figured out michael thanks i just need to to attach the elastic ip to a private ip address in the network interface
 
  • Like
Reactions: cPanelMichael