<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ASP.NET MSSQL Webhosting Blog &#187; IIS</title>
	<atom:link href="http://www.mywebhostingblog.net/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mywebhostingblog.net</link>
	<description>ASP.NET, MSSQL and Windows dedicated server articles</description>
	<lastBuildDate>Tue, 10 Nov 2009 19:53:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Monitoring IIS Web Server with Logparser and the RRDtool</title>
		<link>http://www.mywebhostingblog.net/hosting-security/monitoring-iis-web-server-with-logparser-and-the-rrdtool/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/monitoring-iis-web-server-with-logparser-and-the-rrdtool/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 15:03:04 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Graph]]></category>
		<category><![CDATA[IIS Web Server]]></category>
		<category><![CDATA[logparser]]></category>
		<category><![CDATA[MRTG]]></category>
		<category><![CDATA[MRTGbundle]]></category>
		<category><![CDATA[RRDTool]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Web Server]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=67</guid>
		<description><![CDATA[Introduction We read allot of articles on how one can use MRTG as an Intrusion detection tool or to creating traffic graph for a particular network subnet or a single IP address on Linux platform with Apache web server. But we find very few that allow us to have graphs on Windows Dedicated server with [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>We read allot of articles on how one can use <strong>MRTG</strong> as an Intrusion detection <strong>tool </strong>or to creating<strong> traffic graph </strong>for a particular network subnet or a single IP address on<strong> Linux platform</strong> with <strong>Apache web server</strong>. But we find very few that allow us to have graphs on<strong> Windows</strong> <strong>Dedicated server </strong>with <strong>IIS Web Server</strong>.</p>
<p>Here are some steps that can be used to create graphs on <strong>Windows Dedicated server</strong> with <strong>IIS </strong>as the <strong>web servers</strong>. And there is no need to take all the efforts to configure <strong>MRTG </strong>as we can simply have graphs with the use of <strong>logparser </strong>and the <strong>RRDtool </strong>from Tobias Oetiker and you can use the <strong>RRDtool </strong>perfectly without the rest of <strong>MRTG</strong>.</p>
<p><span id="more-67"></span></p>
<p><strong>Logparser</strong></p>
<p><strong>Logparser </strong>is a great free tool from <strong>Microsoft</strong>. It is written by Gabriele Giuseppini a Software Design Engineer from the test department. The first version of <strong>logparser </strong>was an internal testing tool inside <strong>Microsoft</strong>. Version 2 was made publicly available at the website, version 2.1 was a part of the <strong>IIS resource tools kit </strong>and version 2.2 was made available in January 2005.</p>
<p><strong>Here is a brief introduction how logparser works:</strong></p>
<p>Logparser need three things, an input format, an output format and a sort of <strong>SQL query</strong>. The <strong>SQL query</strong> is a dialect of <strong>SQL</strong>.</p>
<p>There are few very interesting articles on Microsoft’s website, one written by the Author himself:<br />
<a title="Details on how to use LogParser" href="http://www.microsoft.com/technet/community/columns/profwin/pw0505.mspx"><strong>How to use Logparser</strong></a><br />
<a title="Another link on &quot;How to use Logparser&quot;" href="http://www.microsoft.com/technet/community/columns/scripts/sg0105.mspx"><strong>Another one from Scripting Guys:</strong></a></p>
<p>The article from the scripting guys shows you how to use the logparser directly in a script with a com object.</p>
<p>You can download Logparser from the link below:<br />
<a title="Download LogParser" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en"><strong>DOWNLOAD LOAGPARSER</strong></a></p>
<p>The above download has portable help file in the application directory. This help file give you the parameters of all the properties of the <strong>logparser</strong>.<br />
There is also an unofficial website specially for logparser:<br />
www.logparser.com</p>
<p><strong>About RRDtool.</strong></p>
<p><strong>What is the RRDtool:</strong></p>
<p>The <strong>RRDtool </strong>or <strong>Round Robin Database tool</strong> is a tool that can store date in a <strong>database </strong>and create graphs with it. The really great thing about <strong>RDDTool </strong>is that the database does not growing. It will stay almost the same size as when it was created.</p>
<p>On the RRD website<br />
<a title="RRDTool Official Website" href="http://www.people.ee.ethz.ch/~oetiker/webtools/rrdtool/index.en.html"><strong>RRDTool Website</strong></a><br />
there are some really good <strong>tutorials</strong>, and it is recommended to read them before you use the <strong>RRDtool</strong>.<br />
From this website you can also download the <strong>RRDtool</strong>, the only problem is that you need to compile it but if you download it with the <strong>MRTGbundle </strong>from the link below, it has a completed version of the <strong>RRDtool </strong>in the packet. If you unpack the MRTGbundle, you can copy the RRDtool directory to your scripting directory or your application directory and start using it.<br />
<a title="Compiled version of RRDTool" href="http://www.openinnovations.com/mrtgbundle.html"><strong>DOWNLOAD RDDTool Compiled Version</strong></a></p>
<p><strong>Create Database.</strong></p>
<p>Before you can use the <strong>RRDtool </strong>you need to create the database.<br />
The link below has all the information on how and why to create a database along with the parameters.<br />
<a title="How and why to create a database" href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tut/rrdtutorial.en.html"><strong>How to create a database</strong></a><br />
<strong><a title="This link defines its parameters." href="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdcreate.en.html">Parameters</a></strong></p>
<p>You can also use a script to do that.</p>
<p><code><br />
‘#start script.<br />
Set WshShell = WScript.CreateObject("WScript.Shell")<br />
strCMD = ".binrrdtool.exe create Eservicing.rrd"<br />
strCMD = strCMD &amp; " --start N "<br />
strCMD = strCMD &amp; " -s 300"<br />
strCMD = strCMD &amp; " DS:Hits:GAUGE:600:0:2000000"<br />
strCMD = strCMD &amp; " DS:Error400:GAUGE:600:0:2000000"<br />
strCMD = strCMD &amp; " DS:Error500:GAUGE:600:0:2000000"<br />
strCMD = strCMD &amp; " RRA:AVERAGE:0.5:1:288"<br />
strCMD = strCMD &amp; " RRA:AVERAGE:0.5:2:2016"<br />
strCMD = strCMD &amp; " RRA:AVERAGE:0.5:4:2232"<br />
strCMD = strCMD &amp; " RRA:AVERAGE:0.5:12:8760"</code></p>
<p>WshShell.Run strCMD<br />
‘#end script.</p>
<p>Here is an explanation of every command in the script:</p>
<p><code>Set WshShell = WScript.CreateObject("WScript.Shell")</code><br />
This line create a shell object you need to run the RRDtool .<br />
In the next 10 lines I create the command line that I run in the last line.</p>
<p><code>strCMD = ".binrrdtool.exe create Eservicing.rrd"</code><br />
this starts the RRDtool with the create function and give the name of the database.</p>
<p><code>strCMD = strCMD &amp; " --start N "</code><br />
&#8211;start set the start time of the database and N is the current time. The RRDtool works with Unixtime, this are the seconds from 1 January 1970.</p>
<p><code>strCMD = strCMD &amp; " -s 300"</code><br />
-s is the seconds between a database update.</p>
<p><code>strCMD = strCMD &amp; " DS:Hits:GAUGE:600:0:2000000"<br />
strCMD = strCMD &amp; " DS:Error400:GAUGE:600:0:2000000"<br />
strCMD = strCMD &amp; " DS:Error500:GAUGE:600:0:2000000"</code><br />
with this three lines I create three data sources. DS stands for data source, Hits is the name of the data source GAUGE is one of the four type’s of data sources, 600 are the seconds between the records if there is no input after 600 the value is NULL, 0 is the minimum value of the record and 200000 is the maximum value.</p>
<p><code>strCMD = strCMD &amp; " RRA:AVERAGE:0.5:1:288"<br />
strCMD = strCMD &amp; " RRA:AVERAGE:0.5:2:2016"<br />
strCMD = strCMD &amp; " RRA:AVERAGE:0.5:4:2232"<br />
strCMD = strCMD &amp; " RRA:AVERAGE:0.5:12:8760"</code><br />
this four lines create four Round Robin Archives. RRA stands for Round Robin Archive, AVERAGE is one of the four consolidation functions, 0.5 is the consolidation interval, 1 is the number of data sources that are consolidate in one record in the Round Robin Archive. If every 600 seconds a DS is created and the value is 4 instead of 1 every 2400 seconds there will be a record add to the archive, the last value is the number of records the archive contains.<br />
The first line create a Round Robin Archive with a consolidation interval of 0.5. every data source gets a record in the archive and the archive is 288 records long.</p>
<p><code>WshShell.Run strCMD</code><br />
And with this line the command is executed.</p>
<p><strong>Update database.</strong></p>
<p>With the next script we use logparser to evaluate the logfile from a IIS server. We can run this script every 5 minutes. To write the results in RRD database.</p>
<p><code>‘#start script<br />
Const ForReading = 1, ForWriting = 2, ForAppending = 8<br />
'-------------------------------------------------------------------------<br />
LogDir = "serverd$logsyswwwsiteW3SVC1"<br />
Set WSHShell = CreateObject("Wscript.Shell")<br />
Set fso = CreateObject("Scripting.FileSystemObject")<br />
Set objLogParser = CreateObject("MSUtil.LogQuery")<br />
Set objDictIISlogslist = CreateObject("Scripting.Dictionary")</code></p>
<p>Dim strDate<br />
Dim count<br />
Error400 = 0<br />
Error500 = 0<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Main<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Sub Main<br />
Call MakeStrDate<br />
Call GetUniqueHits<br />
Call GetStatus<br />
Call UpdateRRD<br />
End Sub<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8216; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Sub MakeStrDate<br />
strMonth = Month(Now)<br />
If Len(strMonth) = 1 Then<br />
strMonth = &#8220;0&#8243; &amp; CStr(strMonth)<br />
End If<br />
strDay = Day(Now)<br />
If Len(strDay) = 1 Then<br />
strDay = &#8220;0&#8243; &amp; CStr(strDay)<br />
End If<br />
strYear =Right(Year(Now),2)<br />
strDate = strYear &amp; strMonth &amp; strDay<br />
End Sub<br />
&#8216; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Sub GetUniqueHits<br />
Set objInputFormat = CreateObject(&#8220;MSUtil.LogQuery.IISW3CInputFormat&#8221;)<br />
objInputFormat.recurse = -1<br />
objInputFormat.iCheckPoint = strDate &amp; &#8220;.lpc&#8221;<br />
strQuery = &#8220;SELECT count(*) as UniqueHits FROM &#8216;&#8221; &amp; _<br />
LogDir &amp; &#8220;ex&#8221; &amp; strDate &amp; &#8220;.log&#8217;&#8221;<br />
Set objRecordSet = objLogParser.Execute(strQuery, objInputFormat)<br />
Do While Not objRecordSet.AtEnd<br />
Set objRecord = objRecordSet.GetRecord<br />
count = objRecord.GetValue(&#8220;UniqueHits&#8221;)<br />
objRecordSet.MoveNext<br />
Loop<br />
End Sub<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Sub GetStatus<br />
Set objInputFormat = CreateObject(&#8220;MSUtil.LogQuery.IISW3CInputFormat&#8221;)<br />
objInputFormat.recurse = -1<br />
objInputFormat.iCheckPoint = strDate &amp; &#8220;Error.lpc&#8221;<br />
strQuery = &#8220;SELECT sc-status , COUNT(*) as Hits FROM &#8216;&#8221; &amp; LogDir &amp; &#8220;ex&#8221; &amp; strDate &amp; &#8220;.log&#8217; WHERE sc-status &gt; 399 GROUP BY sc-status ORDER BY Hits DESC&#8221;<br />
Set objRecordSet = objLogParser.Execute(strQuery, objInputFormat)<br />
Do While Not objRecordSet.AtEnd<br />
Set objRecord = objRecordSet.GetRecord<br />
If  objRecord.GetValue(&#8220;sc-status&#8221;) &gt; 399 And objRecord.GetValue(&#8220;sc-status&#8221;) &lt; 500  Then<br />
Error400 = Error400 + objRecord.GetValue(&#8220;Hits&#8221;)<br />
End If<br />
If  objRecord.GetValue(&#8220;sc-status&#8221;) &gt; 499 And objRecord.GetValue(&#8220;sc-status&#8221;) &lt; 600  Then<br />
Error500 = Error500 + objRecord.GetValue(&#8220;Hits&#8221;)<br />
End If<br />
objRecordSet.MoveNext<br />
Loop</p>
<p>End Sub<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Sub UpdateRRD<br />
strRun = &#8220;.binrrdtool update Eservicing.rrd N:&#8221; &amp; count &amp; &#8220;:&#8221; &amp; Error400 &amp; &#8220;:&#8221; &amp; Error500<br />
X = WshShell.Run(strRun,0,True)<br />
End Sub<br />
&#8216;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
‘#end script</p>
<p>We will not explain this script line by line as it is a pretty simple script.</p>
<p><strong>Creating a Graphic with the RRDtool.</strong></p>
<p>With the next script I create a graphic with the RRDtool.</p>
<p><code>Set WshShell = WScript.CreateObject("WScript.Shell")</code></p>
<p>strCMD = &#8220;.binrrdtool graph .graphintranetNLweek.gif&#8221;<br />
strCMD = strCMD &amp; &#8221; &#8211;start N-1w &#8211;end N&#8221;<br />
strCMD = strCMD &amp; &#8221; &#8211;vertical-label &#8221; &amp; Chr(34) &amp; &#8220;Hits &#8221; &amp; Chr(34)<br />
strCMD = strCMD &amp; &#8221; &#8211;title INTRANET&#8221;<br />
strCMD = strCMD &amp; &#8221; DEF:Xhits=.databaseintranetNL.rrd:Hits:AVERAGE&#8221;<br />
strCMD = strCMD &amp; &#8221; DEF:Xerror400=.databaseintranetNL.rrd:Error400:AVERAGE&#8221;<br />
strCMD = strCMD &amp; &#8221; DEF:Xerror500=.databaseintranetNL.rrd:Error500:AVERAGE&#8221;<br />
strCMD = strCMD &amp; &#8221; LINE2:Xhits#FF0000:&#8221; &amp; Chr(34) &amp; &#8220;Hits&#8221; &amp; Chr(34)<br />
strCMD = strCMD &amp; &#8221; LINE2:Xerror400#00FF00:&#8221; &amp; Chr(34) &amp; &#8220;400 Errors&#8221; &amp; Chr(34)<br />
strCMD = strCMD &amp; &#8221; LINE2:Xerror500#0000FF:&#8221; &amp; Chr(34) &amp; &#8220;500 Errors&#8221; &amp; Chr(34)</p>
<p>WshShell.Run strCMD</p>
<p>You will make a note of 2 important thing in this script:<br />
1.    The DEF line: this line defines the Data Sources you use.<br />
2.    The LINE2: This defines the line in the graphic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/monitoring-iis-web-server-with-logparser-and-the-rrdtool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install &amp; Configure Windows DNS Service</title>
		<link>http://www.mywebhostingblog.net/window-hosting/install-configure-windows-dns-service/</link>
		<comments>http://www.mywebhostingblog.net/window-hosting/install-configure-windows-dns-service/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 16:54:03 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DNS Server]]></category>
		<category><![CDATA[DNS Service]]></category>
		<category><![CDATA[dnsmgmt.msc]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=220</guid>
		<description><![CDATA[Steps to Configure Windows DNS Server/Service. Here is a very simple way to configure a DNS service on Windows Dedicated Server that hosts your website. Requirements: 1. You should have one of the following Windows OS to install the DNS service: &#8211; Windows XP Professional edition. &#8211; Windows Vista. &#8211; Windows 2003 Server Data center [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Steps to Configure Windows DNS Server/Service.</strong></p>
<p>Here is a very simple way to configure a <strong>DNS service</strong> on Windows Dedicated Server that hosts your website.</p>
<p><strong>Requirements:</strong></p>
<p>1. You should have one of the following Windows OS to install the DNS service:</p>
<p>&#8211; Windows XP Professional edition.<br />
&#8211; Windows Vista.<br />
&#8211; Windows 2003 Server Data center edition.<br />
&#8211; Windows 2003 Server Enterprise edition.<br />
&#8211; Windows 2003 Server Standard edition.</p>
<p>You cannot install DNS service on <strong>Windows 2008 Server</strong> with the steps below as it does not have an option to add remove <strong>Windows Components</strong>. You will have to use the <strong>Server Manager</strong> option to install Services on your <strong>Windows 2008 Server.</strong></p>
<p><span id="more-220"></span>I have not specified Windows NT and Windows 2000 version as they are hardly used now a days. Also Windows XP Home edition and <strong>Windows 2003 Server</strong> Web edition does not support DNS service on them.</p>
<p>2. Windows OS installation CD or the i386 folder.</p>
<p>3. A user that will have Administrator rights on the Dedicated server on which you want to install DNS service.</p>
<p><strong>Installation Steps:</strong></p>
<p>1. Go to Control panel &gt;&gt; Add/Remove Programs &gt;&gt; Add/Remove Windows Components, it will open a windows below:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-3.png"><img class="alignnone size-full wp-image-221" title="install-dns-service-step-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-1.png" alt="install dns service step 1 Install & Configure Windows DNS Service" width="502" height="407" /><br />
</a></p>
<p>2. Click Next and you will get the screen,  see below:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-2.png"><img class="size-full wp-image-222 aligncenter" title="install-dns-service-step-2" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-2.png" alt="install dns service step 2 Install & Configure Windows DNS Service" width="500" height="401" /></a></p>
<p>3. Select the Networking Server <strong>(DO NOT CHECK THE BOX)</strong> and Click on Details (Highlighted in red) and you will get screen below:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-3.png"><img class="size-full wp-image-223 aligncenter" title="install-dns-service-step-3" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-3.png" alt="install dns service step 3 Install & Configure Windows DNS Service" width="500" height="402" /></a></p>
<p>4. Check Box on Domain Name System (DNS) and Click OK &gt;&gt; then Next. It will start the installation and will popup for the CD:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-4.png"><img class="size-full wp-image-224 aligncenter" title="install-dns-service-step-4" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/install-dns-service-step-4.png" alt="install dns service step 4 Install & Configure Windows DNS Service" width="498" height="401" /></a></p>
<p>5. Browse to the i386 folder and then Click OK to complete the installation of <strong>DNS Service</strong>.</p>
<p><strong>DNS Service and ZONE Configuration:</strong></p>
<p>1. G oto Start &gt;&gt; Run and type the command below and hit enter:</p>
<p><code>dnsmgmt.msc</code></p>
<p>2. This will open <strong>DNS Management Console</strong>:</p>
<p style="text-align: center;"><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-1.png"><img class="size-full wp-image-225 aligncenter" title="configure-dns-service-step-1" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-1.png" alt="configure dns service step 1 Install & Configure Windows DNS Service" width="498" height="530" /></a></p>
<p>3. Before making any changes on the<strong> DNS server</strong> I will show you some steps that will make your life as well as the configuration very easy.<br />
A. We will assume that we have to crate a DNS zone for the domain www.moosa.com. For that just go to C:WINDOWSsystem32dns directory (Path to WINDOWS may differ as per the OS you use, you can find it with %windir% or %SystemRoot% in the explorer)<br />
B. Create an empty file as moosa.com.dns.<br />
C. Insert the entire code into it:<br />
&#8212;&#8212;&#8211;</p>
<p><code>;<br />
;  Database file moosa.com.dns for moosa.com zone.<br />
;      Zone version:  1<br />
;</code></p>
<p>@	IN  SOA NS1.moosa.com.  info.moosa.com. (<br />
1            ; serial number<br />
900          ; refresh<br />
600          ; retry<br />
86400        ; expire<br />
3600       ) ; default TTL</p>
<p>;<br />
;  Zone NS records<br />
;</p>
<p>@	IN	NS	NS1.moosa.com.<br />
@	IN	NS	NS2.moosa.com.</p>
<p>;<br />
;  Zone records<br />
;</p>
<p>@	IN	A	192.168.5.52<br />
mail	IN	A	192.168.5.72<br />
www	IN	CNAME	moosa.com.<br />
ftp	IN	CNAME	moosa.com.</p>
<p>;<br />
;  Zone Mail records<br />
;</p>
<p>@	IN	MX	10 mail.moosa.com.</p>
<p>&#8212;&#8212;-<br />
Let me explain each entry one by one briefly, you will have to change each of them as per your requirement:</p>
<p><strong>&#8211; NS1.moosa.com. in SOA :</strong> This is the primary name server of my domain moosa.com. It is not compulsory that you too may have name server on your domain. But it should be the one from the set of name servers that you provide to your registrar to point your domain on your server.</p>
<p><strong>&#8211; info.moosa.com. in SOA:</strong> This is actually an email address info @ moosa.com, it is provided for the DNS server to send notification of that is a problem within the zone.</p>
<p>&#8211; You can forget the rest in SOA as it will require a separate topic to explain those.</p>
<p><strong>&#8211; NS1.moosa.com. in NS:</strong> This is again a primary name server that was provided to registrar.</p>
<p><strong>&#8211; NS2.moosa.com. in NS:</strong> This a secondary name server of my domain moosa.com.<br />
It is not over here, you can even have 3rd and 4th NS entry here. A zone will accept up to 13 NS entries for a single domain.</p>
<p><strong>&#8211; &#8216;A&#8217; records: </strong>&#8216;A&#8217; record has the IP address that you want your domain to point at. This will probably the IP address of your web server or a mail server. I have 2 A records for moosa.com and mail.moosa.com, one for the IIS web server and other for the Exchange mail server.</p>
<p><strong>&#8211; CNAME: </strong>CNAME are the canonical names for a domain or duplicate names. I have 2 CNAME so that www.moosa.com and ftp.moosa.com will point to the same IP of moosa.com.</p>
<p><strong>&#8211; MX record:</strong> MX record will be required for your mails to work. It shows a path to your email server. If you do not have an email server and this record will not be required.</p>
<p>I will not go more deep in each of these settings or this topic will turn into a book. <img src='http://www.mywebhostingblog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="Install & Configure Windows DNS Service" /> </p>
<p>4. Save the file and close it, make sure that each setting looks exactly the same as that has been defined above or the zone creation will fail.</p>
<p>5. Now go back to DNS Management Console, right click on SERVER NAME to make sure that the DNS service is running. If it is not running then click on Start option to start the service.</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-2.png"><img class="aligncenter size-full wp-image-226" title="configure-dns-service-step-2" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-2.png" alt="configure dns service step 2 Install & Configure Windows DNS Service" width="498" height="529" /></a></p>
<p>6. Right Click on &#8220;Forward Lookup Zone&#8221; &gt;&gt; New Zone:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-3.png"><img class="aligncenter size-full wp-image-227" title="configure-dns-service-step-3" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-3.png" alt="configure dns service step 3 Install & Configure Windows DNS Service" width="492" height="333" /></a></p>
<p>7. It will Open the New Zone Wizard, click Next on first screen and then select &#8220;Primary zone&#8221; and then Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-5.png"><img class="aligncenter size-full wp-image-229" title="configure-dns-service-step-5" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-5.png" alt="configure dns service step 5 Install & Configure Windows DNS Service" width="500" height="381" /></a></p>
<p>8. Put Domain name in &#8220;Zone Name&#8221; screen, without www in it. and click Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-51.png"><img class="aligncenter size-full wp-image-230" title="configure-dns-service-step-51" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-51.png" alt="configure dns service step 51 Install & Configure Windows DNS Service" width="500" height="381" /></a></p>
<p>9. In the Zone File screen, Select the 2nd option &#8220;Use this existing file&#8221;. Make sure that the file name and path matches your name and path from the steps above. Then click Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-6.png"><img class="aligncenter size-full wp-image-231" title="configure-dns-service-step-6" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-6.png" alt="configure dns service step 6 Install & Configure Windows DNS Service" width="498" height="380" /></a></p>
<p>10. In &#8220;Dynamic Update&#8221; screen, select &#8220;Do not allow dynamic updates&#8221; and click Next:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-7.png"><img class="aligncenter size-full wp-image-232" title="configure-dns-service-step-7" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-7.png" alt="configure dns service step 7 Install & Configure Windows DNS Service" width="500" height="383" /></a></p>
<p>11. Click Finish on Next screen to create the new domain for your domain:</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-8.png"><img class="aligncenter size-full wp-image-233" title="configure-dns-service-step-8" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-8.png" alt="configure dns service step 8 Install & Configure Windows DNS Service" width="499" height="382" /></a></p>
<p>12. Your zone will appear in the screen below. You wil either double click the existing entries to update/edit/modify them or right click on the white screen to Add new Records as per your need.</p>
<p><a href="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-9.png"><img class="aligncenter size-full wp-image-234" title="configure-dns-service-step-9" src="http://www.mywebhostingblog.net/wp-content/uploads/2008/11/configure-dns-service-step-9.png" alt="configure dns service step 9 Install & Configure Windows DNS Service" width="500" height="511" /></a></p>
<p><strong>DO NOT FORGET TO EITHER RELOAD THE ZONE OR RESTART THE DNS SERVICE FOR THE CHANGES YOU HAVE MADE TO REFLECT.</strong></p>
<p>That is it.. now create another zone and so on..</p>
<p>Wasn&#8217;t that damn easy..!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/window-hosting/install-configure-windows-dns-service/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Plesk SitePreview Not Working On Windows</title>
		<link>http://www.mywebhostingblog.net/hosting-security/plesk-sitepreview-not-working-on-windows/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/plesk-sitepreview-not-working-on-windows/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 08:03:04 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Sitepreview]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=409</guid>
		<description><![CDATA[Most of our users have this problem with there Windows Plesk Dedicated hosting as well as Windows Shared hosting packages with recent Parallels Plesk versions. I have had so many instance of support about the sitepreview not working on our Windows Shared Servers with Plesk for different reasons and I had to scratch my head [...]]]></description>
			<content:encoded><![CDATA[<p>Most of our users have this problem with there <strong>Windows Plesk Dedicated hosting</strong> as well as <strong>Windows Shared hosting packages</strong> with recent <strong>Parallels Plesk</strong> versions. I have had so many instance of support about the <strong>sitepreview </strong>not working on our <strong>Windows Shared Servers</strong> with Plesk for different reasons and I had to scratch my head to get things sorted for our valuable Windows dedicated hosting customers. And it is an important feature for our Shared hosting customers without the dedicated IP address to check their site before moving their name server to us. So I decided to write this blog with the steps to troubleshoot the problem with Plesk sitepreview in few simple steps. I will try and put every thing that I have figured while investigation.</p>
<p>There are 3 types of problems with site preview in Plesk:</p>
<p><span id="more-409"></span></p>
<p>1. <strong>Site Preview</strong> in Windows Plesk will show 404 Page Not Found error<br />
2. <strong>Site Preview</strong> in Windows Plesk will show Plesk Default page.<br />
3. <strong>SitePreview</strong> will ask for user name and password.</p>
<p>We will troubleshoot each problem with site preview one by one.</p>
<p><strong>1. Site Preview in Plesk will show 404 Page Not Found error.</strong></p>
<p>Cause: This happens if the sitepreview ISAPI DLL is not loaded correctly in IIS web server.</p>
<p><strong>Troubleshoot steps:</strong><br />
a. First check if a the Virtual folder with the name sitepreview is create in <strong>IIS Default Web Site</strong>. If it is not created then create it without the application pool and map it to folder <strong>&#8220;%plesk_dir%isapi&#8221;</strong>, same as in image below.  Also Make sure that Executable Permissions are set to <strong>&#8220;Scripts And Executables&#8221;</strong></p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-412" title="windows-plesk-hosting-site-preview-iis1" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/windows-plesk-hosting-site-preview-iis1.png" alt="windows plesk hosting site preview iis1 Plesk SitePreview Not Working On Windows" width="470" height="460" /></p>
<p>b. Make sure that the <strong>Site preview ISAPI DDL</strong> is Allowed in Web Exteniosn and look like in image below, if not then Add it in Plesk Extensions.  <strong></strong><strong></strong></p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-413" title="windows-plesk-hosting-site-preview-iis-web-extension" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/windows-plesk-hosting-site-preview-iis-web-extension.png" alt="windows plesk hosting site preview iis web extension Plesk SitePreview Not Working On Windows" width="401" height="435" /></p>
<p>c. Also make sure that the Site Preview ISAPI DLL has been loaded with green Arrow in IIS &gt;&gt; Web Site &gt;&gt; Right click &gt;&gt; Properties &gt;&gt; ISAPI Tab. like in the figure below. If it is not loaded then just click on the Add button and browser through <strong>&#8220;%plesk_dir%isapisitepreview.dll&#8221;</strong> and restart IIS.</p>
<p><img class="aligncenter size-full wp-image-411" title="windows-plesk-hosting-site-preview-iis-web-site" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/windows-plesk-hosting-site-preview-iis-web-site.png" alt="windows plesk hosting site preview iis web site Plesk SitePreview Not Working On Windows" width="471" height="460" /></p>
<p>d. If you have IIS7 on <strong>Windows 2008 Server</strong> then make suer that you have Plesk Site Preview DLL added in IIS &gt;&gt; Click on Server &gt;&gt; IIS Group &gt;&gt; ISAPI Filters.</p>
<p><strong>2. Site Preview in Plesk will show Plesk Default page.</strong></p>
<p>Cause: Related to IP configuration on the server.</p>
<p><strong>Troubleshoot steps:</strong></p>
<p>a. Please fo through all the steps in problem one for this. However the only reason for this problem that I have found is main IP address of the server. Just make sure that you have alleast one site added on the main IP address of the server. To know the main IP address of the server Go to START &gt;&gt; <strong>Control Panel</strong> &gt;&gt; Network Connections &gt;&gt; Right click on main network adapter &gt;&gt; Click on Properties &gt;&gt; Select TCP IP &gt;&gt; Properties. The IP address list in this windows as IP address is the main IP address of the server. Just make sure that you have atleast one site hosted on this IP address.</p>
<p>The above solution will also apply is Plesk Site Preview option is working with https prefix butnot with http in URL browser.</p>
<p><strong>3. SitePreview will ask for user name and password for all website.</strong></p>
<p>Cause: Related to Permissions and Security Options.</p>
<p><strong>Troubleshoot steps:</strong></p>
<p>a. First check if the URL work fine with the IP address only:</p>
<p><code>http://192.168.1.52/</code></p>
<p>if not then there are permissions issue with the default site and if you are using a dedicated IP address instead of <strong>shared</strong> IP then the problem is with the permissions of the site that holds the dedicated IP.</p>
<p>b. If step &#8220;a&#8221; is working then try access the link below:<br />
<code>http://192.168.1.52/$sitepreview/</code></p>
<p>The above link should get redirected to the IP address and show Plesk default page or index.html page in <strong>Default Web site</strong> but it is is asking for password then permissions on sitepreview virtual directory is not correct. Make sure that <strong>IIS_WPG, NETWORK SERVICE, psaadm, psacln &amp; psaserv</strong> has read an execute permissions on the virtual folder, do not forget to inherit the permissions to files in it.</p>
<p>c. If it asks password for only one site then the problem should be either with the website permissions or the file you are accessing it.</p>
<p>I think this should cover all the problems with Parallels Plesk Site Preview problems. But if you still face problem and don&#8217;t want to use Site Preview then you have try the HACK below.</p>
<p><a title="Point Domain Wihtout Changing the DNS Name Server." href="http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/" target="_self"><strong>WINDOWS HACK TO POINT YOUR SITE TO AN IP WITHOUT CHANGING THE NAME SERVERS.</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/plesk-sitepreview-not-working-on-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Host Header Settings</title>
		<link>http://www.mywebhostingblog.net/iis/host-headers-settings/</link>
		<comments>http://www.mywebhostingblog.net/iis/host-headers-settings/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 20:33:52 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[anonymous]]></category>
		<category><![CDATA[Domain Aliases]]></category>
		<category><![CDATA[Host Headers]]></category>
		<category><![CDATA[inetmgr]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[Permissions]]></category>
		<category><![CDATA[Port Settings]]></category>
		<category><![CDATA[Web Site]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=129</guid>
		<description><![CDATA[To set more than one website on server you are required to set Host Headers Procedure to set Host Headers 1) Load  IIS (Start &#62;&#62;&#62; Run&#62;&#62;&#62;type &#8220;inetmgr&#8221; hit enter) 2) On left pane, expand server name, then click &#8220;Web Sites&#8220;&#62;&#62;&#62;right click on right pane&#62;&#62;&#62;select  New&#62;&#62;&#62;Web Site 3) Website Creation Wizard will open , here you [...]]]></description>
			<content:encoded><![CDATA[<p>To set more than one website on server you are required to set <strong>Host Headers</strong><br />
Procedure to set Host Headers<br />
1) <strong>Load  IIS </strong> (Start &gt;&gt;&gt; Run&gt;&gt;&gt;type &#8220;<strong>inetmgr</strong>&#8221; hit enter)</p>
<p>2) On left pane, expand server name, then click &#8220;<strong>Web Sites</strong>&#8220;&gt;&gt;&gt;right click on right pane&gt;&gt;&gt;select  New&gt;&gt;&gt;<strong>Web Site</strong></p>
<p>3) Website Creation Wizard will open , here you have freedom to write absolutely anything (we will write &#8211; Testing) &gt;&gt;&gt; Click Next</p>
<p>4)Under <strong>IP address</strong> and Port settings<br />
Enter<strong> Ip address </strong>and port number<strong> (Default port &#8211; 80)</strong> and <strong>Host Header</strong> for the website &gt;&gt;&gt; Click Next</p>
<p>5) Enter the path for Websites Home <strong>Directory </strong>and tick (check) &#8220;Allow <strong>anonymous </strong>access to this website&#8221; &gt;&gt;&gt; Click Next</p>
<p>6) Under Website Access <strong>Permissions </strong>, necessary permissions for using <strong>ASP </strong>, Run Scripts can be used as per requirement. &gt;&gt;&gt; Click Next</p>
<p>7) Click Finish and you&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/iis/host-headers-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PROCEDURE TO MAKE CDONTS WORK ON A WINDOWS 2003 SERVER</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/procedure-to-make-cdonts-work-on-a-windows-2003-server/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/procedure-to-make-cdonts-work-on-a-windows-2003-server/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 17:14:25 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[CDO]]></category>
		<category><![CDATA[CDONTS]]></category>
		<category><![CDATA[CDONTS.DLL]]></category>
		<category><![CDATA[Collaboration Data Objects]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS SMTP service]]></category>
		<category><![CDATA[RELAY]]></category>
		<category><![CDATA[SMTP]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=85</guid>
		<description><![CDATA[Microsoft Windows Server 2003 does not install Collaboration Data Objects (CDO) for NTS (CDONTS). Therefore, applications that use   do not function on a Windows Server 2003-based computer. Windows Server 2003 provides improved alternatives to CDONTS. To make CDONTS functioning on a Windows Server 2003-based computer, use one of the following solution: 1. Obtain CDONTS.DLL [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Microsoft Windows Server 2003</strong> does not install Collaboration <strong>Data Objects (CDO)</strong> for<br />
<strong>NTS (CDONTS)</strong>. Therefore, applications that use   do not function on a Windows<br />
Server 2003-based computer.</p>
<p>Windows Server 2003 provides improved alternatives to <strong>CDONTS</strong>. To make <strong>CDONTS</strong><br />
functioning on a <strong>Windows Server 2003</strong>-based computer, use one of the following</p>
<p><strong>solution:</strong></p>
<p><span id="more-85"></span></p>
<p><strong>1</strong>. Obtain <strong>CDONTS.DLL</strong> and put it into %systemroot%\system32 folder<br />
(C:\Windows\system32 by default).</p>
<p><strong>2</strong>. <strong>Register </strong>the <strong>CDONTS.DLL</strong> component on your server using the following command:</p>
<p><strong>regsvr32 &#8220;%systemroot%\system32\cdonts.dll&#8221;</strong></p>
<p>For example:</p>
<p><strong>C:\WINDOWS\system32&gt;regsvr32.exe cdonts.dll </strong></p>
<p><strong>3</strong>. After you have registered your <strong>CDONTS.DLL</strong> component you need to check whether<br />
your <strong>SMTP </strong>service is running. Go to Administrative tools &gt; <strong>IIS</strong> and expand your local<br />
machine. If <strong>SMTP </strong>service is listed then it is installed, else  it&#8217;s necessary to<br />
install this service. To install <strong>SMTP </strong>perform the following operation:<br />
Go to <strong>Control Panel </strong>&gt; Add/Remove Programs &gt; Add/Remove Windows Components &gt;<br />
Application Server &gt; <strong>IIS </strong>&gt; Mark <strong>SMTP </strong>service &gt; Click OK.</p>
<p><strong>4</strong>. Change the port number for <strong>SMTP service</strong>. Default port is 25. Use 25 only if you<br />
don&#8217;t have another <strong>SMTP </strong>service running. If another <strong>SMTP </strong>service is already running<br />
on your server you should switch IIS SMTP port to another, for example to 26. You<br />
can do through IIS management console:<br />
Control Panel &gt; <strong>IIS </strong>&gt; expand `local computer` &gt; <strong>SMTP </strong>&gt; Properties &gt; General tab &gt;<br />
click on Advanced button &gt; Edit.</p>
<p><strong>5</strong>. Configure <strong>SMTP </strong>service. The main things are to set a valid <strong>full-qualified domain<br />
name</strong> for SMTP service:<br />
Control Panel &gt; <strong>IIS </strong>&gt; expand `local computer` &gt; <strong>SMTP </strong>&gt; Properties &gt; Delivery tab &gt;<br />
click on Advanced button</p>
<p><strong>6</strong>. Configure Security for <strong>SMTP </strong>service. It&#8217;s necessary to grant permissions to<br />
<strong>IIS_WPG</strong> standard <strong>IIS </strong>Worker Process Group.</p>
<p>Control Panel &gt; <strong>IIS </strong>&gt; expand `local computer` &gt; <strong>SMTP </strong>&gt; Properties &gt; Security tab &gt;<br />
click on Add button &gt; Cick Object types&#8230; button &gt; Mark Groups item &gt; click OK &gt;<br />
Add<strong> IIS_WPG</strong> as object name to add &gt; Click OK.</p>
<p><strong>7</strong>. Additional setting:</p>
<p>Choose Authentication and tick Anonymous Access and Integrated Windows<br />
Authentication. Click OK, then click <strong>CONNECTION</strong>. Configure <strong>RELAY </strong>settings as you<br />
wish. Click the <strong>DELIVERY </strong>tab then click ADVANCED.</p>
<p><strong>8</strong>. Stop <strong>SMTP </strong>service of IIS and start it again. Now <strong>IIS SMTP service</strong> as configured<br />
and ready to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/procedure-to-make-cdonts-work-on-a-windows-2003-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS Optimizing &amp; Monitoring Tools</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/iis-optimizing-tools/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/iis-optimizing-tools/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 13:46:26 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Application pool]]></category>
		<category><![CDATA[IIS Passwords]]></category>
		<category><![CDATA[IIS Pool]]></category>
		<category><![CDATA[IIS Report]]></category>
		<category><![CDATA[IIS Server]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=49</guid>
		<description><![CDATA[Here are some useful tools that help us in configuring IIS server to be more secure and less resource consuming: 1. IIS Passwords Sync: IIS 6.0 web sites run under anonymous user accounts. It is IUSR_&#60;machine name&#62; (by default) or other user accounts created by your web hosting control panel. The users&#8217; passwords are set [...]]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:Compatibility> <w:BreakWrappedTables /> <w:SnapToGridInCell /> <w:WrapTextWithPunct /> <w:UseAsianBreakRules /> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} --> <!--[endif]--></p>
<p class="MsoNormal">Here are some useful tools that help us in configuring <strong>IIS server</strong> to be more secure and less resource consuming:</p>
<p class="MsoNormal"><strong>1. IIS Passwords Sync:</strong></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong>IIS 6.0</strong> web sites run under anonymous user accounts. It is IUSR_&lt;machine name&gt; (by default) or other user accounts created by your<strong> web hosting control panel</strong>. The users&#8217; passwords are set automatically set and are never known. However, sometimes for some reason the passwords get out of sync or corrupted and need to be reset. The easiest way to reset these <strong>passwords </strong>is to use <strong>IIS Passwords</strong> <strong>Sync program</strong>. It extracts the <strong>passwords </strong>that <strong>Microsoft IIS 6.0</strong> has in its <strong>metabase</strong> and updates the accounts in “<strong>Local Users and Groups”</strong> to use that passwords.</p>
<p class="MsoNormal"><a title="IIS Passwords Sync Download Link" href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1742" target="_blank"><strong>DOWNLOAD LINK</strong></a></p>
<p><strong>2.</strong> <!--[endif]--><strong><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">IIS Pool:</span></strong></p>
<p><!--[endif]--></p>
<p class="MsoNormal">With <strong>IIS Pool </strong>tool we can easily search the problematic sites which have default <strong>application pool</strong>.</p>
<p><!--[endif]--></p>
<p class="MsoNormal"><strong>IIS Application Pools Monitoring and Analysis</strong>:</p>
<p class="MsoNormal">This program allows monitoring of <strong>IIS 6 application pools</strong>. All the monitoring data is stored in log files. It is possible to analyze a pool to find a website (or a virtual application) using too much resources. &#8230;</p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong>Overview -</strong></p>
<p class="MsoNormal"><strong>IIS Application Pools Monitoring and Analysis:</strong></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><span> </span>* This program allows monitoring of <strong>IIS 6 application pools</strong>.</p>
<p class="MsoNormal"><span> </span>* All the monitoring data is stored in log files.</p>
<p class="MsoNormal"><span> </span>* It is possible to analyze a pool to find a website (or a virtual application) using too much resources.</p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong>Features -</strong></p>
<p class="MsoNormal"><span> </span>*<strong> IIS </strong>application pools monitoring</p>
<p class="MsoNormal"><span> </span>* <strong>IIS</strong> application pools analysis</p>
<p class="MsoNormal"><span> </span><span> </span>* Find websites using too much resources</p>
<p class="MsoNormal">
<p class="MsoNormal"><a title="IIS Pool Download Link." href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1728" target="_blank"><strong>DOWNLOAD LINK</strong></a></p>
<p class="MsoNormal">
<p><!--[endif]--></p>
<p class="MsoNormal"><strong>3. IIS Report:</strong></p>
<p><!--[endif]--></p>
<p class="MsoNormal"><strong>Overview -</strong></p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong>IIS Report </strong>is a command line tool. It allows us to create different IIS related reports. For example it can get the list of all <strong>SSL websites</strong> and sort it by IP address, or get the list of all websites and sort it by application pool name and then by website name, &#8230;</p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal">There is no installation required. Just download and unrar the archive file. Then start the program with:</p>
<p class="MsoNormal"><strong>C:\&gt;iisreport.exe /?</strong></p>
<p class="MsoNormal">to get more information and see all the parameters available.</p>
<p class="MsoNormal"><span> </span></p>
<p class="MsoNormal"><strong>Benefits -</strong></p>
<p class="MsoNormal"><span> </span>* Easy-to-use</p>
<p class="MsoNormal"><span> </span>* Fast</p>
<p class="MsoNormal"><span> </span>* It is possible to import the reports with <strong>Excel</strong></p>
<p class="MsoNormal"><span> </span>* It is possible to parse the reports with <strong>VBS </strong>or <strong>BAT programs </strong>and other administration applications.</p>
<p class="MsoNormal">
<p class="MsoNormal"><a title="IIS Report Tool Download Link" href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1730" target="_blank"><strong>DOWNLOAD LINK</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/iis-optimizing-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
