Monthly Archives: December 2013

Error installing Windows server role and feature required for the Exchange 2010

Go the below warning message “error #install-windowsComponent –ShortNameForRole “AdminTools” – ADToolsNeeded $RoleADTools Needed”.

Exit the 2012 Exchange installation

Enable the IIS Management Tools

Download latest Microsoft Exchange SP3 the package supported for Windows 2012. Extract to a temporay location and run the Setup.exe as Administrator.

Check “Automatic install Windows server role and feactures required for Exchange”

How to set IIS website URL path redirection

How to set IIS website URL path redirection

Sometimes we used to get requests for redirecting website URL; the process involves configuring the webserver to redirect the client request to another target allowing bypassing the requested URL without any manual interference and disturbance. This website redirection often required for newly purchased domains list, maintenance websites, internal websites, redirect website to another web server like JBOSS etc.

The website needs to host in IIS and DNS points to the IIS webserver. Header value should be set to recognize the hosted website. The two 2 methods that was commonly used are,

1st Method

1. Go to Windows Run, type the command “inetmgr” to open IIS manager console. Choose the website which we need to redirect.

2. Open properties and select Home Directory.

3. Change the radio mark to “A redirection to a URL” and specify the target URL. Click Apply and stop and start this particular website.

2nd Method

1. Go to Windows Run, type the command “inetmgr” to open IIS manager console. Choose the website which we need to redirect.

2. Open properties and select Home Directory and identify the HOME directory (eg: c:\inetpub\wwwroot)

3. Open the home directory and create a new index.HTML (backup if there any)

4. Add the HTML redirect code and stop/start this particular website.

<html><meta http-equiv=”refresh” content=”0;url=http://techiesweb.com/alpha” /></html>