Business inquiries

[email protected]

Sales department

@bithosting_sales

Technical support

@bithosting_tech

📌 How to Set a Static IP on a VPS: Step-by-Step Guide

Using a static IP address on a VPS is essential for stable operation of web services, application servers, remote access, and more. Unlike dynamic IPs, a static address doesn't change after reboot and remains constant. This article explains how to assign a static IP address on popular operating systems.

💡 Why Use a Static IP?

🖥 Setting Static IP on Linux (Ubuntu/Debian)

Most modern systems use Netplan. Open the configuration file:

sudo nano /etc/netplan/01-netcfg.yaml
  

Example configuration:

network:
  version: 2
  ethernets:
    eth0:
      dhcp4: no
      addresses:
        - 192.0.2.10/24
      gateway4: 192.0.2.1
      nameservers:
        addresses: [8.8.8.8, 1.1.1.1]
  

Apply the changes:

sudo netplan apply
  

🪟 Setting Static IP on Windows Server

1. Go to Network ConnectionsAdapter Settings.
2. Find IPv4 Protocol and open its properties.
3. Choose Use the following IP address and enter:

After saving the settings, restart the network adapter. Your server will now use the same IP address consistently.

🧠 Tips and Recommendations

← Back to Network section

If you're having trouble configuring your IP address or the server becomes unreachable — contact Bit.Hosting support. We'll help you set everything up! ⚙️

BIT.HOSTING

Your path to perfection

Maximum Performance

Stable servers and modern hardware ensure fast and reliable operation of your services.

Ultimate Configuration Flexibility

Support for various OS and control panels lets you tailor your hosting environment to your exact needs.

Affordable Server Prices

We offer some of the most competitive and accessible prices on the market.

24/7 Customer Support

Our experts are here to assist you anytime — with advice, solutions, or technical help around the clock.