15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started
30.10.2024

How to Manually Set a Static IP Address on Windows

A static IP address is a fixed network address permanently assigned to a device, as opposed to a dynamic IP address that changes each time the device reconnects to the network. Whether you're configuring a home lab, running a local server, enabling remote access, or managing network resources, assigning a static IP address on Windows gives you predictability, stability, and control over your network environment.

This comprehensive guide walks you through everything you need to know: why static IPs matter, what information you need before you start, step-by-step configuration instructions, verification methods, and troubleshooting tips for the most common issues.

1. Why Use a Static IP Address?

Before diving into the configuration steps, it's worth understanding the practical advantages of using a static IP address over a dynamically assigned one.

Reliable Remote Access

When your device's IP address changes constantly, remote access tools like RDP (Remote Desktop Protocol), SSH clients, or VPN configurations break or require constant reconfiguration. A static IP eliminates this problem entirely — your device is always reachable at the same address.

Simplified Network Management

In environments where multiple devices need to communicate reliably — such as printers, NAS drives, IP cameras, or local servers — static IPs make device discovery and communication far more predictable. Network administrators don't have to chase down changing addresses.

Port Forwarding and Service Hosting

If you're running any kind of service that requires inbound connections — a web server, a game server, a media server, or even a self-hosted application — port forwarding rules on your router must point to a specific, unchanging IP address. A static IP is a prerequisite for this to work reliably.

Reduced DHCP Dependency

Dynamic Host Configuration Protocol (DHCP) servers assign addresses automatically, but they can occasionally cause conflicts, lease expirations, or unexpected address changes. Removing a device from the DHCP pool by assigning it a static IP reduces this risk.

> Note: If you're running production workloads or hosting services that require guaranteed uptime and a dedicated IP, consider a VPS Hosting plan or a Dedicated Server — both of which come with a static public IP address included.

2. What You Need Before You Start

Configuring a static IP address incorrectly can lock you out of your network or cause IP conflicts. Gather the following information before making any changes.

ParameterDescriptionExample Value
IP AddressThe static address you want to assign to this device192.168.1.50
Subnet MaskDefines the size of your network segment255.255.255.0
Default GatewayYour router's IP address192.168.1.1
Preferred DNS ServerPrimary DNS resolver8.8.8.8 (Google)
Alternate DNS ServerFallback DNS resolver8.8.4.4 (Google)

How to Find Your Current Network Settings

If you're unsure of your current gateway or subnet mask, open Command Prompt and run:

ipconfig /all

This displays your current IP configuration, including the default gateway, subnet mask, and DNS servers currently in use. Note these values before proceeding.

Choosing a Safe Static IP Address

To avoid IP conflicts, choose an address that:

  • Falls within your local network range (e.g., 192.168.1.x)
  • Is outside your router's DHCP range (check your router's admin panel — typically 192.168.1.100 to 192.168.1.200)
  • Is not already assigned to another device

A safe choice for most home or small office networks is an address like 192.168.1.50 or 192.168.1.10.

3. How to Manually Set a Static IP Address on Windows

The following steps apply to Windows 10 and Windows 11. The interface is nearly identical across both versions.

Step 1: Open Network & Internet Settings

  1. Right-click on the network icon in the system tray (bottom-right corner of the taskbar — it looks like a Wi-Fi symbol or a small monitor).
  2. Select "Open Network & Internet Settings" from the context menu.

Alternatively, you can navigate there via:

Start Menu → Settings → Network & Internet

Step 2: Access Adapter Settings

  1. Inside the Network & Internet settings window, scroll down and click "Change adapter options".
  • On Windows 11, this may appear as "Advanced network settings""More network adapter options".
  1. A new Network Connections window will open, displaying all available network adapters.
  2. Right-click on your active network adapter — this will be labeled "Ethernet" for wired connections or "Wi-Fi" for wireless connections.
  3. Select "Properties" from the dropdown menu.

Step 3: Open TCP/IPv4 Properties

  1. In the Network Connection Properties dialog box, scroll through the list of items until you find "Internet Protocol Version 4 (TCP/IPv4)".
  2. Single-click to highlight it (do not uncheck the box).
  3. Click the "Properties" button below the list.

Step 4: Enter Your Static IP Address

The TCP/IPv4 Properties window presents two radio button options:

  • ○ Obtain an IP address automatically
  • ○ Use the following IP address
  1. Select "Use the following IP address".
  2. Enter your chosen static IP configuration:
IP Address:       192.168.1.50
Subnet Mask:      255.255.255.0
Default Gateway:  192.168.1.1

Make sure each value is entered accurately. A typo in the subnet mask or gateway will prevent your device from accessing the network or the internet.

Step 5: Configure DNS Server Addresses

Directly below the IP address fields, you'll see DNS server options:

  • ○ Obtain DNS server address automatically
  • ○ Use the following DNS server addresses
  1. Select "Use the following DNS server addresses".
  2. Enter your preferred DNS servers. For Google's public DNS:
Preferred DNS Server:  8.8.8.8
Alternate DNS Server:  8.8.4.4

Alternative DNS options:

ProviderPrimary DNSSecondary DNS
Google8.8.8.88.8.4.4
Cloudflare1.1.1.11.0.0.1
OpenDNS208.67.222.222208.67.220.220
Your ISPProvided by ISPProvided by ISP

> Tip: If you're hosting websites or applications, pairing a static IP with a registered domain name makes your services publicly accessible. AlexHost offers Domain Registration and SSL Certificates to complete your hosting setup.

Step 6: Apply and Save the Settings

  1. Click "OK" to close the TCP/IPv4 Properties window.
  2. Click "OK" again (or "Close") to close the Network Connection Properties window.
  3. To apply the changes, do one of the following:
  • Restart your computer (most reliable method)
  • Disable and re-enable the network adapter: Right-click the adapter in Network Connections → Disable → Right-click again → Enable

Your static IP address is now configured.

4. Verify the Static IP Configuration

After applying the settings, always verify that the configuration was applied correctly.

Using Command Prompt (ipconfig)

  1. Press Windows + R to open the Run dialog.
  2. Type cmd and press Enter.
  3. In the Command Prompt window, type the following and press Enter:
ipconfig
  1. Locate your network adapter in the output (Ethernet or Wi-Fi) and confirm the values:
Ethernet adapter Ethernet:
   IPv4 Address. . . . . . . . . . . : 192.168.1.50
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

The IPv4 Address should match the static IP you assigned.

Test Internet Connectivity

While still in Command Prompt, test your internet connection and DNS resolution:

ping 8.8.8.8

This tests basic internet connectivity (bypassing DNS). Then test DNS resolution:

ping google.com

If both commands return replies, your static IP is correctly configured and your device has full network access.

Test Gateway Reachability

To confirm your router is reachable:

ping 192.168.1.1

A successful reply confirms your device can communicate with the gateway.

5. Troubleshooting Common Issues

Even with careful configuration, issues can arise. Here are the most common problems and how to resolve them.

Problem: IP Address Conflict

Symptom: Windows displays a warning that another device on the network is using the same IP address. Network connectivity may be intermittent or completely broken.

Solution:

  • Open your router's admin panel (usually at 192.168.1.1 or 192.168.0.1) and check the DHCP client list to see which addresses are currently in use.
  • Choose a different static IP address that is not in the DHCP range and not already assigned.
  • Alternatively, reserve the IP address in your router's DHCP settings using the device's MAC address (called a DHCP reservation or static DHCP lease).

Problem: No Internet Access After Setting Static IP

Symptom: The device connects to the local network but cannot access the internet.

Solution:

  • Double-check the Default Gateway value — it must match your router's IP address exactly.
  • Verify the Subnet Mask is correct for your network (most home networks use 255.255.255.0).
  • Confirm the DNS server addresses are valid and reachable.
  • Try pinging the gateway (ping 192.168.1.1) to isolate whether the issue is local or DNS-related.

Problem: DNS Resolution Failures

Symptom: You can ping IP addresses (like 8.8.8.8) but cannot load websites by domain name (like google.com).

Solution:

  • Verify your DNS server entries in the TCP/IPv4 Properties window.
  • Switch to a reliable public DNS such as Google (8.8.8.8) or Cloudflare (1.1.1.1).
  • Flush the DNS cache by running the following command in an elevated Command Prompt:
ipconfig /flushdns

Problem: Network Adapter Not Applying Changes

Symptom: After clicking OK, the IP address reverts to the previous value or remains dynamic.

Solution:

  • Ensure you have Administrator privileges on the Windows account you're using. Standard user accounts cannot modify network adapter settings.
  • Right-click Command Prompt and select "Run as administrator", then retry.
  • Temporarily disable any third-party network management software (VPN clients, network managers) that may be overriding your settings.

Problem: Network Still Unstable After Configuration

Solution:

  • Reboot your router and your computer to clear any stale ARP cache entries.
  • Check for Windows updates — network adapter driver updates can sometimes resolve persistent issues.
  • Consider updating your network adapter driver via Device Manager.

6. Static IP on Windows vs. Static IP from a Hosting Provider

It's important to distinguish between a local static IP (configured within your home or office LAN) and a public static IP (assigned by an ISP or hosting provider).

FeatureLocal Static IP (LAN)Public Static IP (Hosting)
ScopeInternal network onlyAccessible from anywhere on the internet
CostFree (self-configured)Included with hosting plans
Use CaseLocal servers, printers, NASWeb hosting, email servers, APIs
ConfigurationWindows network settingsProvided by hosting provider

If your goal is to host a website, application, or email server that is accessible from the public internet, a local static IP alone is not sufficient. You need a hosting solution with a dedicated public IP address.

AlexHost provides public static IPs with all VPS Hosting and Dedicated Server plans. For smaller projects or websites, Shared Web Hosting offers a cost-effective entry point with managed infrastructure.

7. Conclusion

Setting a static IP address on Windows is a straightforward but impactful configuration change. It eliminates the unpredictability of dynamic addressing, enables reliable port forwarding, simplifies remote access, and makes your device a dependable node in any network environment.

To summarize the process:

  1. Gather your network parameters (IP, subnet mask, gateway, DNS)
  2. Open Network Connections via Network & Internet Settings
  3. Access TCP/IPv4 Properties for your active adapter
  4. Enter your static IP address, subnet mask, gateway, and DNS servers
  5. Apply the settings and restart or re-enable the adapter
  6. Verify with ipconfig and connectivity tests

Whether you're configuring a home lab, a local development server, or preparing a device for consistent network access, a static IP address is a foundational step in professional network management.

For workloads that extend beyond your local network — hosting websites, running applications, or managing email infrastructure — AlexHost offers scalable solutions including VPS Hosting, Dedicated Servers, SSL Certificates, and Domain Registration to support your projects from development to production.

15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started