Sign In
Sign In

Assign a Public IP to a Service

Updated on 20 December 2024

You can assign a public IP to a cloud service as well as transfer an already assigned IP to another service within the same region.

Assigning an Available IP to a Service

You can assign a new public IP to any service created in the same region / availability zone.

  • If the cloud server is configured to obtain an IP via DHCP (the default setting for our servers), you only need to assign the IP in the control panel.

  • If you have manually changed these settings, you must add the IP inside the server using our static IP configuration guide.

To assign a public IP to a service:

  1. Navigate to the NetworksPublic IP section.

  2. Hover over the row with the IP address. A plus icon will appear on the right.

Aaad46ae 0f4e 4c00 9de8 427325a92e24

  1. Choose a Service:

    • If the service already exists, go to the Existing tab and select the service from the list.

    • If the service does not yet exist, click New and select the service type. You will be redirected to the service creation form with the required IP and region pre-filled. Complete the service creation process, and the public IP will be automatically assigned.

52c2cb9c 8f05 4158 96fa 9ac90547a74c

Assigning a public IP to a private network will enable NAT.

Transferring a Public IP to Another Service

Public IPs can be transferred between services in the same region / availability zone.

To change an IP assignment:

  1. First, unassign the IP from the current service:

    • Go to the NetworksPublic IP section.

    • Hover over the IP and click the minus icon.

Edbf1223 33b4 4920 8448 119cd09793dd

    • Confirm the action in the next window.

Note: Unassigning a public IP will make the service inaccessible from the external network.

  1. Reassign the IP to a new service:

    • Hover over the IP row again and click on the plus icon.

Aaad46ae 0f4e 4c00 9de8 427325a92e24

    • In the popup window, select the service from the list or click New to create a new service and immediately assign the IP.

Assigning a public IP to a private network will enable NAT.

Was this page helpful?
Updated on 20 December 2024

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support