home   |   about us   |   our network   |   services   |   affiliates   |   contact
 
Services
» Web Hosting
» Reseller Hosting
» Dedicated Servers
» Windows/ASP.net Hosting
» Managed Web Hosting
» Server Security / Auditing
» Remote Backup / Storage
» Linux VDS
» Windows VDS
 
Support
» Support Desk
» Client Login
» Forums
» FAQs
» Help Files
» Acceptable Use Policy
» Client Testimonials
» Blog
 
Tutorials
» Dedicated Server Tutorial
» Website Optimization
» Search Engine Optimization
» Web Hosting Tutorials
» Web Programming Tutorials
» Networking Tutorials
» Virtual Server Tutorials
» Resources

The Crucial Blog

May 2, 2008

How to configure IP address, Hostname, and DNS in Windows 2008 Server Core

With 2008 Server Core you don’t have a nice graphical interface to configure everything, therefor you need to configure via the command line. This article will cover how to configure an IP address, Hostname, and DNS servers in 2008 Server Core.

1. Login to the server.

2. Configure your hostname:

> netdom renamecomputer %computername% /NewName:<newservername>

Where you replace <newservername> with the servername you wish to use.

3. Configure IP address:

> netsh interface ipv4 set address name=”2″ source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1

4. Setup DNS:

> netsh interface ipv4 add dnssserver name=”2″ address=192.168.0.1

NOTE: We have referenced in these commands an interface name of “2″. If you want to find out what name/number your interface is, do the following:

> netsh interface ipv4 show interface

Tags: , ,

Related posts


Filed under: Uncategorized by — aaron @ 2:21 am


One Response to “How to configure IP address, Hostname, and DNS in Windows 2008 Server Core”

  1. Windows 2008 has a graphical interface to add/edit IP configurations. It’s almost at the same path of win 2003 (network and sharing > LAN > view status > properties).

    >> netsh interface ipv4 set address name=”2″ source=static address=192.168.0.5 mask=255.255.255.0 gateway=192.168.0.1

    Also, the above netsh command will add IP to the specified interface. But, it will remove existing IPs from there.

    ~mohammed

Leave a Reply



     

Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers