[Resolved] rename windows 2003 server

Last week I was checking ASP.NET Forums as usual and I had answered a thread about renaming Windows Server 2003 and the impact of this renaming on IIS.

The issue was , after renaming the machine the http://ServerName no longer resolved to the localhost. (Check thread here  http://forums.asp.net/t/1350535.aspx)

So here is a small guidelines how to safely renaming the Windows Server 2003 machine name which hosting IIS 6.0

  1. Make sure you have read HOWTO: Rename the Computer running IIS6 post.
  2. You may manually map the new ServerName to localhost IP (127.0.0.1) through Windows hosts file located in <Windows Directory>\System32\drivers\etc\hosts
  3. 127.0.0.1       localhost

    127.0.0.1       serverName

  4. If you have DNS installed make sure you have corrected DNS entries.

If anyone know other steps or solutions, please feel free comment to this post ... Thanks !

No Comments