How do I run SmarterMail or SmarterStats through IIS on my Windows VPS?
The following article explains how to run SmarterMail or SmarterStats through IIS on your Windows VPS. Doing so allows you to configure a domain name for SmarterMail and SmarterStats, eliminating the need to specify the port number. For example, you can use http://mail.domainname.com rather than http://domainname.com:9998 to access the SmarterMail Web interface.
To configure SmarterMail through IIS, please follow these steps:
- Log into your server through Remote Desktop Connection (instructions for connecting to your server through RDC can be found here).
- Create a new site in IIS called SmarterMail using the following information: (instructions for creating a new site through IIS can be found here).
- Description: smartermail
- IP Address: the primary IP address for your server
- Host header for this Web site: mail.domainname.com
- Path: C:\Program Files\SmarterTools\SmarterMail\MRS
- Website Permissions: check Read and Run scripts
- Right-click the site and select Properties.
- On the ASP.NET tab, select the appropriate version of ASP.NET based on the version of SmarterMail:
Note: If you have a VPS Professional server, you can skip this step as your server only runs the latest version of ASP.NET.- SmarterMail 4.x: select 2.0.x as the ASP.NET verion
SmarterMail 3.x: select 1.1.x as the ASP.NET verion
- SmarterMail 4.x: select 2.0.x as the ASP.NET verion
- On the HTTP Headers tab, click MIME Types.
- Click New.
- Enter the requested information:
- Extension: .js
- MIME type: application/x-javascript
- Click OK.
- Create an A record in DNS for mail.domainname.com that points to the primary IP address for your server (instructions for updates DNS for your domain name can be found here).
You can now use http://mail.domainname.com to access the SmarterMail Web interface.
To configure SmarterStats through IIS, please follow these steps:
- Log into your server through Remote Desktop Connection (instructions for connecting to your server through RDC can be found here).
- Create a new site in IIS called SmarterStats using the following information: (instructions for creating a new site through IIS can be found here).
- Description: smarterstats
- IP Address: the primary IP address for your server
- Host header for this Web site: stats.domainname.com
- Path: C:\Program Files\SmarterTools\SmarterStats\MRS
- Website Permissions: check Read and Run scripts
- Right-click the site and select Properties.
- On the ASP.NET tab, select 2.0.x as the ASP.NET verion.
Note: If you have a VPS Professional server, you can skip this step as your server only runs the latest version of ASP.NET.
- On the HTTP Headers tab, click MIME Types.
- Click New.
- Enter the requested information:
- Extension: .js
- MIME type: application/x-javascript
- Click OK.
- Create an A record in DNS for stats.domainname.com that points to the primary IP address for your server (instructions for updates DNS for your domain name can be found here).
You can now use http://stats.domainname.com to access the SmarterStats Web interface.




