Question : Using SetHostName in IIS 6.0

I need to set the SetHostName on one of my websites within IIS.  In reviewing KB Article 834141 i don't see any mention of how to undo this setting once it's enabled.  Is it possible to disable this setting?  How would you do that?  My concern is having it cause issues with the site once it's enabled.  I reviewing the majority of the questions opened within EE I didn't see it being an issue, at the same time I didn't see anyone pose this question.  Thanks for you help.

Answer : Using SetHostName in IIS 6.0

I don't think you're missing anything, but that command should delete that value.

Try this (kind of radical but will work):

Shut down IIS
Open c:\windows\system32\inetsrv\metabase.xml in Notepad (or your favorite text editor)
Search for SetHostName
Delete that line
Start IIS

See if the command returns the same thing after that.

It may be that your permissions in the Metabase are fouled up or there may be something else going on.

I just ran through setting and deleting that value to make sure and it works fine on my IIS6 server.

Dave Dietz
Random Solutions  
 
programming4us programming4us