the following goes in the web.config file in <system.webServer> section :
<rewrite>
<rules>
<rule name="Redirect domain.com to www" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions>
<addinput ="{HTTP_HOST}" pattern="domain.com.au" />
</conditions>
<action type="Redirect" url="http ://www.domain.com.au/{R:0}" />
</rule>
</rules>
</rewrite>
<rewrite>
<rules>
<rule name="Redirect domain.com to www" patternSyntax="Wildcard" stopProcessing="true">
<
<conditions>
<add
</conditions>
<action type="Redirect" url="
</rule>
</rules>
</rewrite>
ConversionConversion EmoticonEmoticon