@%SystemRoot%\System32\inetsrv\appcmd set config -section:staticContent -+”[fileExtension=’.’, mimeType=’text/plain’]”
Archive for the ‘IIS’ Category
Letsencrypt IIS
Monday, April 17th, 2017How to Rename the Default Domain (IIS)
Tuesday, June 30th, 2009The default domain is used to stamp messages from addresses that do not have a domain. An SMTP virtual server must have one default domain. This default domain cannot be deleted.
By default, the name specified on the Computer Name tab of the System tool in Control Panel is used as the default domain name. You can also specify a unique name to use as the default domain for the SMTP Service.
To rename the default domain, follow these steps:
1. | Start Microsoft Internet Information Services (IIS) Manager or open the IIS snap-in. |
2. | Expand Server_name, where Server_name is the name of the server, and then expand the SMTP virtual server that you want (for example, Default SMTP Virtual Server). |
3. | Click Domains. |
4. | In the right-pane, right-click the default domain, and then click Rename. |
5. | Type the name that you want, and then press ENTER. |
6. | Quit IIS Manager or close the IIS snap-in. |