none
How to change IIS WebServer Name using powershell RRS feed

  • General discussion

  • Hi all

    Last week I cloned  40 IIS WebServers (W2K16)  from VMWARE VM with newSid generation in order to swap old IIS Webservers (W2K8).

    All new servers have correct netbios and hostname, but in IIS console the "name server" that appears is the name from orignal VM that I used to clone.

    So I look for powershell CMDlet  to rename IIS name server.
    Also I if you know any other settings in IIS that should be renamed / modified all your feedback shall be welcome.

    Thank you for your help


    Orwell



    • Edited by G-Orwell Saturday, January 13, 2018 6:46 PM
    • Changed type Bill_Stewart Monday, March 12, 2018 8:12 PM
    • Moved by Bill_Stewart Monday, March 12, 2018 8:12 PM Off-topic
    Saturday, January 13, 2018 6:42 PM

All replies

  • Post IIS specific questions to the MS IIS forum http://forums.iis.net

    AS far as I know there is no PS CmdLet to rename an IIS service.  As best I can remember the displayed name is in the main web.config file and is just for display.  The web server has no network name and defaults to the name of the server.

    Perhaps you have an old DNS record pointing to the same address.


    \_(ツ)_/

    Saturday, January 13, 2018 7:28 PM
  • Thank you JRV.

    I will post my question on this forum.

    Do you know where is the main web.config?

    I can't found it in inetpup folder except in subfolder of each site

    Thx


    Orwell

    Saturday, January 13, 2018 10:06 PM
  • First you have to tell us which name you want to change.  A web service really has no name.  It is referenced by its servers name when accessing it remotely.  Sites/Webs may be named by the header settings.


    \_(ツ)_/

    Saturday, January 13, 2018 10:18 PM
  • Ô sorry

    I forgot to give the screenshot

    Here


    Orwell

    Sunday, January 14, 2018 12:02 AM
  • That is not the name of the web server it is just a label defined the first time the IIS manager runs.  You c an just right-click on it and rename it to anything you want. You can also attach the same web server multiple times under different names and set the view configuration differently for each one. 


    \_(ツ)_/

    Sunday, January 14, 2018 12:06 AM
  • Ok so Is this means that it have no incidence?

    Orwell

    Sunday, January 14, 2018 12:40 AM
  • As noted this is not an IIS management forum. You are not asking your questions in the right place.

    -- Bill Stewart [Bill_Stewart]

    Tuesday, January 16, 2018 3:11 PM