Is it safe to remove the Default Web Site in IIS on APM server?

book

Article ID: 186021

calendar_today

Updated On:

Products

CA IT Asset Manager CA IT Asset Manager Asset Portfolio Management CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER

Issue/Introduction

Is it safe to remove the Default Web Site in IIS on APM server?

Environment

Service Management 17.x
Asset Portfolio Management
All Supported Windows Operating Systems

Resolution

You can safely remove the Default Web Site in IIS on the APM server.

However, before removal, it is advised to a backup of the Default Web Site within IIS.

Below are the relevant commands:

Export a Specific IIS Website:

%windir%\system32\inetsrv\appcmd list site "Default Web site" /config /xml > c:\customwebsite.xml

Import a Specific IIS Website:

%windir%\system32\inetsrv\appcmd add site /in < c:\customwebsite.xml

Additional Information

Please refer to the following URL for additional IIS command details:

https://www.ryadel.com/en/exporting-importing-app-pools-and-websites-configuration-between-multiple-iis-instances/