Pages

Wednesday 6 February 2013

Create Virtual Directory Under an Existing IIS Site (IIS 6.0)

If they choose to do so, system administrators can set up SmarterMail as a virtual directory under an existing IIS site. NOTE: This is not recommended.  When using a virtual directory ActiveSync, Exchange Web Service and other syncing technology will not work under a virtual directory.  
Running SmarterMail as a Virtual Directory in IIS 6.0
To run SmarterMail as a virtual directory in IIS 6.0, you will need to disable the SmarterMail Web server; add SmarterMail to IIS; verify the IIS settings; update DNS; and test the site. Additional details regarding these steps are below.

Disable the SmarterMail Web Server
These steps will stop and disable the Web server included with SmarterMail. They will also have the side-effect of disabling the shortcut to SmarterMail on your desktop until you update it with the new URL for SmarterMail.
  1. Click on Start --> All Programs --> SmarterMail
  2. Click Web Server Config.
  3. Click Stop.
  4. Change the Startup Mode to Disabled and click Apply.
  5. Click Close.
Add SmarterMail to an IIS Site
Follow these steps to add SmarterMail to an IIS site:
  1. Click on Start --> Control Panel --> Administrative Tools -- >Internet Information Services (IIS) Manager.
  2. Open up the Web Sites tree and locate the site under which you want to place SmarterMail.
  3. Right-click on the web site and choose New --> Virtual Directory.
  4. When asked for an Alias, enter SmarterMail, or another name. This will be used in the URL to get to webmail, as in http://www.example.com/smartermail.
  5. For the physical path, browse to the SmarterMail\MRS folder. The default location is C:\Program Files\SmarterTools\SmarterMail\MRS.
  6. When asked what permissions to grant, choose only Read and Run Scripts.
  7. Finish the Wizard.
Verify IIS Settings
Follow these steps to verify the IIS settings:
  1. If you are using Windows 2003, verify that ASP .NET v4.0.30319 Web Service Extension is set to Allowed in IIS. If you do not see ASP .NET under Web Service Extensions, ensure that ASP .NET is enabled in the Application Server. You can do this by going to: Control Panel --> Add/Remove Programs --> Windows Components--> Application Server --> Details.
  2. Ensure that the default document for the site is Default.aspx (under the Documents tab).
  3. Ensure ASP.NET version 4.0.30319 is selected under the ASP.NET tab.
Update DNS
If any domains are already set up with SmarterMail, make sure to update their webmail DNS records to point to the new IP address.
Test the site
Open your browser and type in the URL of the virtual directory (ex. http://www.example.com/virtual directory).

No comments:

Post a Comment