Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Configuring a Static IP and DNS on a Windows Server Domain Controller

This lab continues from the previous project, where we set up a Windows Server domain controller. Here, we configure a static IP and DNS on the server,

Prerequisites


Step 1: Find the Server's Current IP Address

  1. Open Command Prompt (search for cmd).

  2. Run the following command:

    ipconfig

Note: This isn't a "real" public IP address — it's the IP assigned to the server by the VM when it was created. We'll reuse this existing IP address as our static IP, rather than picking a new one.

ipconfig output showing current IP address

Step 2: Assign a Static IP Address

Best practice: Servers should always have a static IP address, since a server's IP changing can break client connections and DNS resolution.

  1. Go to Settings > Network & Internet > Ethernet.
  2. Click Edit under IP assignment.
  3. Enter the IP address, subnet mask, and gateway found in Step 1.
  4. For the preferred DNS server, use the loopback address (127.0.0.1) — this points the server to itself for DNS.
Network settings showing static IP, subnet mask, gateway, and DNS configuration

Step 3: Restart and Verify

  1. Restart the server to make sure the new settings are applied.

  2. Once it's back up, open Command Prompt and run:

    ipconfig /all

This shows more detail than a plain ipconfig — including the DNS server, which confirms the settings were applied correctly.

ipconfig /all output showing IP, subnet mask, and DNS server

Next Lab: Creating OUs and Groups in AD

About

This lab continues from my Windows Server and AD DS Setup project. With the domain controller running, I configure a static IP address and set DNS to point back to the server itself (127.0.0.1) — a standard practice since a server's IP changing can break client connections and domain authentication.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors