<?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/category/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>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>Write Permissions on Plesk Windows Server Get Removed</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/write-permissions-on-plesk-windows-server-get-removed/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/write-permissions-on-plesk-windows-server-get-removed/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 06:18:24 +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[Permissions]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk Control Panel]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=436</guid>
		<description><![CDATA[This has been a regular problem with most of our Windows dedicated Server Clients as well as Windows Shared hosting client that has Plesk 8.4 installed on them, specially for those who need write permissions on web user for the ASP .NET/MSSQL and PHP/MySQL application, that the write permissions on the folder get removed own [...]]]></description>
			<content:encoded><![CDATA[<p>This has been a regular problem with most of our<strong> Windows dedicated Server Clients</strong> as well as <strong>Windows Shared hosting client </strong>that has Plesk 8.4 installed on them, specially for those who need <strong>write permissions </strong>on web user for the <strong>ASP .NET/MSSQL</strong> and <strong>PHP/MySQL</strong> application, that the write <strong>permissions </strong>on the folder get <strong>removed</strong> own its own without any changes being made by us or the client. After allot of scratching and investigation we were finally able to reveal the secrete about the permissions issue. The problem was not with Plesk but the way we use to set <strong>permissions </strong>on the folder.</p>
<p style="text-align: left;"><img class="aligncenter size-full wp-image-437" title="Plesk Permissions Problem on Windows" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/03/plesk-86-premissions-problems.jpg" alt="plesk 86 premissions problems Write Permissions on Plesk Windows Server Get Removed" width="465" height="160" /></p>
<p>While I was searching for the solution I found the KB articel on Parallels sites below:</p>
<p><code>http://kb.parallels.com/en/1147</code></p>
<p><span id="more-436"></span></p>
<p>Where they (<strong>Plesk adminstrators</strong>) have clearly mentioned that custom permissions set on top level folder like httpdocs, statistics, cgi-bin etc will get reset by Plesk. So I decided to make a test, I manually gave write permissions to httpdocs folder and ran <em><strong>webservmng.exe</strong></em> on it and yes it was removed. Then after allot digging I would that there us a file<em> .Security</em> which is saved under the folder with the domain name (parallel to httpdocs folder), that stores all permissions for that domain.</p>
<p>Before we start please be informed that these steps are applicable to <strong>Parallel Plesk version 8.4</strong> and above as <em>.Security</em> file was introduced in 8.4 only.</p>
<p>So here are steps to get around the problem permanently:</p>
<p>1. Backup the <em>.Security</em> file and delete it from<em> [drive]:inetpub/vhosts/domain_name,</em> this file saves all the permissions assigned to that user from Plesk on Windows. Deleting it will remove all the records.</p>
<p>2. After renaming or deleting the <em>. Security</em> file, run this command below:</p>
<p><code>"%plesk_bin%/websrvmng.exe" --reconfigure-vhost --vhost-name=domain_name</code></p>
<p>3. This command will create a new <em>.Security</em> file with all default permissions on that domain.</p>
<p>4. Now login into Plesk &gt;&gt; Click on Domains &gt;&gt; domain_name &gt;&gt; File Manager &gt;&gt; httpdocs &gt;&gt; golden padlock of folder_name to set perm on &gt;&gt; &#8220;Advance&#8221; Button &gt;&gt; Select users &gt;&gt; Assign permissions &gt;&gt; OK.</p>
<p>These steps will save new permissions in .Security file and even if you run <em><strong>websrvmng</strong></em> on that domain again, the new permissions that has been set from Plesk will not get removed. There is no need to add any special group or users like, <strong>ASPNET </strong>or <strong>NETWORK SERVICE</strong> to any folder as those permissions are handled by <strong>IUSR_ &amp; IWAM_/IWPD_ users</strong>.</p>
<p>Any permissions that has been assigned directly to httpdocs folder will get reset by <strong>Plesk </strong>and if you inherit them to sub folder, permissions from sub folder will also get removed.</p>
<p>So the moral is,<strong> DO NOT</strong> give any permissions from RDP, use File Manager option if you want to keep the trouble of permissions away.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/write-permissions-on-plesk-windows-server-get-removed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Point Domain to Another IP Without Changing DNS Name Servers</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 11:48:21 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Linux Server Hosting]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Hosts]]></category>
		<category><![CDATA[Name Servers]]></category>
		<category><![CDATA[Sitepreview]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=427</guid>
		<description><![CDATA[One can point your site to any designated IP address you want without changing the Name server of your Domain. Yes, you will be able to view/test your site on new server without changing the name servers as well as having trouble of using site Preview options in Control panel like Plesk. This option is [...]]]></description>
			<content:encoded><![CDATA[<p>One can point your site to any designated IP address you want without changing the Name server of your Domain. Yes, you will be able to view/test your site on new server without changing the name servers as well as having trouble of using site Preview options in Control panel like Plesk. This option is also helpful in the case of some site that use .js script in their codes since those scripts don&#8217;t work in Plesk site preview option. Specially in case of sites that work on <strong>DotNetNuke [DNN]</strong>.</p>
<p><strong>So here we go:</strong></p>
<p>On your local machine, [<strong>AND NOT THE SERVER</strong>]:<br />
Goto START &gt;&gt; Run &gt;&gt; and Type:<br />
<code>notepad "C:WINDOWSsystem32driversetchosts"</code><br />
And hit Enter</p>
<p><span id="more-427"></span>If you get file does not exist error then create hosts file in notepad <strong>&#8220;C:WINDOWSsystem32driversetc&#8221;</strong> folder.</p>
<p>At the end of the file you will have:</p>
<p><code>127.0.0.1    localhost</code></p>
<p>Just add your domain with the IP you want to point to, and it will look like, this will be also applicable if you have create a new hosts file:</p>
<p><code>127.0.0.1    localhost<br />
192.168.1.52    mywebhostingblog.net<br />
192.168.1.52    www.mywebhostingblog.net</code></p>
<p>Save the file and exit.</p>
<p>Now ping the domain on the <strong>computer </strong>you have made changes on and it will point to the <strong>IP address</strong> defined. You can now browse your site without the <strong>site preview</strong> and you will have to the content of the <strong>server </strong>you are moving to. Just remove the entries from the <strong>hosts </strong>file to point your domain back it was.</p>
<p>Wasn&#8217;t that Simple..!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/point-domain-to-another-ip-without-changing-dns-name-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Error Reporting</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/windows-error-reporting/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/windows-error-reporting/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 20:28:02 +0000</pubDate>
		<dc:creator>Stephen</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[appcompat.txt]]></category>
		<category><![CDATA[Data Execution Prevention]]></category>
		<category><![CDATA[dump files]]></category>
		<category><![CDATA[Hard Disk]]></category>
		<category><![CDATA[HDMP]]></category>
		<category><![CDATA[MDMP]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[w3wp.exe.mdmp]]></category>
		<category><![CDATA[Windows Error Reporting]]></category>
		<category><![CDATA[Windows Registry]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=248</guid>
		<description><![CDATA[C:\DOCUME~1\USER~1\LOCALS~1\Temp\WER8bd7.dir00\w3wp.exe.mdmp C:\DOCUME~1\USER~1\LOCALS~1\Temp\WER8bd7.dir00\appcompat.txt Above error pop ups when Error Reporting is enabled on your system and w3wp.exe faces an error. Windows Error Reporting increases Hard Disk space , by adding above pop ups in two different dump files i.e. HDMP and MDMP HDMP (Heap Dump) &#8211; Uncompressed error dump file generated by Windows when a program [...]]]></description>
			<content:encoded><![CDATA[<p><strong>C:\DOCUME~1\USER~1\LOCALS~1\Temp\WER8bd7.dir00\w3wp.exe.mdmp</strong></p>
<p><strong>C:\DOCUME~1\USER~1\LOCALS~1\Temp\WER8bd7.dir00\appcompat.txt</strong></p>
<p>Above error pop ups when <strong>Error Reporting</strong> is enabled on your <strong>system</strong> and <strong>w3wp.exe</strong> faces an error.<br />
<strong>Windows Error Reporting</strong> increases <strong>Hard Disk</strong> space , by adding above pop ups in two different <strong>dump files</strong> i.e. <strong>HDMP</strong> and <strong>MDMP</strong><br />
HDMP (Heap Dump) &#8211; Uncompressed error dump file generated by Windows when a program has an error or crashes.<br />
<strong>MDMP (Mini Dump)</strong> &#8211; Compressed Heap Dump files are saved as Mini dump (MDMP) files and may be sent to <strong>Microsoft</strong> as part of an error reporting process.</p>
<p><span id="more-248"></span>Windows Error Reporting settings are stored in <strong>Windows Registry</strong> at <strong>HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting</strong></p>
<p>However, if you do not choose to send files to Microsoft. These dump files will gradually go on clogging up your system disk space.<br />
To avoid this you have to fix error in application and delete dump files present at<br />
<strong>C:\WINDOWS\pchealth\ERRORREP\UserDumps</strong></p>
<p>Read further for Customizing or disabling <strong>Windows Error Reportin. </strong></p>
<p><strong>Windows Error Reporting</strong> can be kept disabled or can be customize as per requirement.</p>
<p>On your <strong>Windows System</strong> &gt;&gt;&gt; Right Click on My Computer &gt;&gt;&gt; Click on Properties &gt;&gt;&gt; Click on Advanced &gt;&gt;&gt; Click on Error Reporting &gt;&gt;&gt; You can Enable or Disable Error Reporting from here &gt;&gt; if you click on Enable &gt;&gt;&gt; Click on Choose Programs for customizing.</p>
<p>To add <strong>w3wp.exe</strong> in exception list without Disabling <strong>Error Reporting</strong> navigate yourself as shown below : -</p>
<p>On your <strong>Windows System</strong> &gt;&gt;&gt; Right click on My Computer &gt;&gt;&gt;  Click on Properties &gt;&gt;&gt; Click on Advanced &gt;&gt;&gt; Performance &gt;&gt;&gt; Click on Settings &gt;&gt;&gt; Click on <strong>Data<br />
Execution Prevention</strong> &gt;&gt;&gt; Turn on DEP for all programs and<br />
services except those I select &gt;&gt;&gt; Add <strong>w3wp.exe</strong> process in exception list<br />
(Reboot not required)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/windows-error-reporting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install phpMyAdmin on Windows</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-install-phpmyadmin-on-windows/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-install-phpmyadmin-on-windows/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 01:19:44 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MySQL Hosting]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows NT]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=210</guid>
		<description><![CDATA[These steps can be followed on Windows 2000, Windows NT servers, Windows 2003, Windows 2008 and Windows XP. For steps on Linux refer the link below: How to install PHPMyAdmin on Linux How to install phpMyAdmin 2.11 on Windows Desktop and Server Here are steps that will help you installed PHPMyAdmin on a Windows server. [...]]]></description>
			<content:encoded><![CDATA[<p>These steps can be followed on Windows 2000, Windows NT servers, Windows 2003, Windows 2008 and Windows XP.</p>
<p>For steps on Linux refer the link below:</p>
<p><strong><a title="Install PHPMyAdmin on Linux" href="http://www.eukhost.com/forums/f15/how-install-phpmyadmin-pma-linux-vps-dedicated-server-4234/" target="_blank">How to install PHPMyAdmin on Linux</a></strong></p>
<p><strong>How to install phpMyAdmin 2.11 on Windows Desktop and Server</strong></p>
<p>Here are steps that will help you installed <strong>PHPMyAdmin</strong> on a Windows server.</p>
<p><strong>REQUIREMENTS:</strong></p>
<p>&gt;&gt; PHP <strong>4.3/4.4/5.1</strong><br />
&gt;&gt; MySQL <strong>4.0/4.1/5.0</strong></p>
<p><strong>DOWNLOAD</strong>:</p>
<p>This installation was tested on phpMyAdmin-2.11.1<br />
You can select the file from <a title="PHPMyAdmin Downloads" href="http://www.phpmyadmin.net/home_page/downloads.php" target="_blank">PHPMyAdmin Downloads</a></p>
<p><span id="more-210"></span></p>
<p><strong>CONFIGURATION</strong>:</p>
<p>Configuration that needs to be noted, the one below are the one we have chozen. They might be different on your server:</p>
<p>Installation path: C:\www\<strong>phpMyAdmin </strong>(If you have Apache on your server then place out side of webroot of Apache)<br />
Apache webroot : C:\www\webroot<br />
My-SQL path : C:\www\mysql\bin<br />
Access phpMyAdmin as : http://192.168.1.52/<strong>phpMyAdmin</strong>/</p>
<p><strong>INSTALLING PHPMyAdmin:</strong></p>
<p>1. Unpack the downloaded file <strong>phpMyAdmin</strong>-2.11.1.zip under the directory C:\www<br />
2. Rename directory C:\www\<strong>phpMyAdmin</strong>-2.11.1 to C:\www\phpMyAdmin<br />
3. Make a copy of C:\www\<strong>phpMyAdmin</strong>\libraries\config.default.php<br />
4. Open the default configuration file of <strong>PHPMyAdmin </strong>C:\www\<strong>phpMyAdmin</strong>\libraries\config.default.php and make following changes:</p>
<p>a. Find:</p>
<p><code>$cfg['PmaAbsoluteUri'] = '';</code></p>
<p>Put the full URL of PHPMyAdmin in the quotes, you can replace the IP address with the IP address of your server or your domain name:</p>
<p><code>$cfg['PmaAbsoluteUri'] = 'http://192.168.1.52/phpMyAdmin/';</code></p>
<p>b. PHPMyAdmin can also try to auto-detect the proper value for the above directive if it is left as it is [BLANK] and the below line is changed to &#8216;TRUE&#8217;:</p>
<p><code>$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;</code></p>
<p>c. Authentication Method:</p>
<p>&#8211; For single-user (root or trusted) environment:</p>
<p>&#8211; Method 1 would be to prompt client for MySQL user/password, this option will only work if your database is not accessed by other users:</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'http';</code></p>
<p>&#8211; Method 2 is to store MySQL user/password under config.ini.php file.</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'config';</code><br />
<code>$cfg['Servers'][$i]['user'] = 'root';</code><br />
<code>$cfg['Servers'][$i]['password'] = 'root-password';</code></p>
<p>Please replace the user and password with the <strong>administrator </strong>user and password of your<strong> MySQL server</strong>.</p>
<p>d. Authentication Method &#8212; for multi-user (untrusted) environment, this will allow to give access to your developers or clients if it is a shared server in hosting environment.<br />
This step is also required to for enabling phpMyAdmin&#8217;s relational features</p>
<p><code>$cfg['Servers'][$i]['auth_type'] = 'http';</code><br />
<code>$cfg['Servers'][$i]['user'] = '';</code><br />
<code>$cfg['Servers'][$i]['password'] = '';</code><br />
<code>$cfg['Servers'][$i]['controluser'] = 'pma';</code><br />
<code>$cfg['Servers'][$i]['controlpass'] = 'pmapass';</code></p>
<p>Save the password: pmapass</p>
<p>e. Now we will have tp create MySQL controluser user &#8216;pma@localhost&#8217; with password &#8216;pmapass&#8217;, and with the proper permissions to the user:</p>
<p><code>C:\www\mysql\bin&gt; mysql -u root -p</code><br />
<code>mysql&gt; GRANT USAGE ON mysql.* TO 'pma'@'localhost' IDENTIFIED BY 'pmapass';</code><br />
Note the SQL password</p>
<p><code>mysql&gt; GRANT SELECT (Host, User, Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv, File_priv, Grant_priv, References_priv, Index_priv, Alter_priv, Show_db_priv, Super_priv, Create_tmp_table_priv, Lock_tables_priv, Execute_priv, Repl_slave_priv, Repl_client_priv) ON mysql.user TO 'pma'@'localhost';</code><br />
<code>mysql&gt; GRANT SELECT ON mysql.db TO 'pma'@'localhost';</code><br />
<code>mysql&gt; GRANT SELECT ON mysql.host TO 'pma'@'localhost';</code><br />
<code>mysql&gt; GRANT SELECT (Host, Db, User, Table_name, Table_priv, Column_priv) ON mysql.tables_priv TO 'pma'@'localhost';</code><br />
<code>mysql&gt; quit</code></p>
<p><strong>CONFIGURING APACHE 2.0</strong></p>
<p>a. If you run Apache as the webserver then you will follow the steps below:</p>
<p>Open file C:\www\Apache2\conf\httpd.conf to edit it and uncomment line (remove the beginning character &#8216;#&#8217;)<br />
I would suggest you to backup the http.conf file incase you have messed it up.</p>
<p><code>LoadModule alias_module modules/mod_alias.so</code></p>
<p>b. Make sure directive &#8216;DirectoryIndex&#8217; contains &#8216;index.php&#8217; http.conf</p>
<p><code>DirectoryIndex index.html index.html.var index.php</code></p>
<p>c. Then add the following lines:</p>
<p><code><br />
Alias /phpMyAdmin "C:/www/phpMyAdmin"<br />
</code></p>
<p><code><br />
Options None<br />
AllowOverride None<br />
order deny,allow<br />
deny from all<br />
allow from 127.0.0.1<br />
</code></p>
<p>Do not forget to restart Apache once you have made the above changes and have saved the http.conf file.</p>
<p><strong>CONFIGURING IIS6.0</strong></p>
<p>a. Open IIS Webserver from START &gt;&gt; RUN: inetmgr<br />
b. In IIS manager expand SERVER_NAME &gt;&gt; Web Sites and select Default WebSite.<br />
c. In the Right pane right click in white soace and select New &gt;&gt; Virtual Directory.<br />
d. In the Virtual Directory creation Wizard, click Next.<br />
e. Give directory Alias (Name) as PHPMyadmin and click Next.<br />
f. Click on Browse button and navigate to &#8220;C:\www\phpMyAdmin&#8221;<br />
e. Select &#8220;Read&#8221;, &#8220;Run Script&#8221; &amp; &#8220;Execute&#8221; and click Next.<br />
g. Now Right click on the PHPMyAdmin Virtual directory and select permissions.<br />
h. Give &#8220;Read &amp; Execute&#8221; permissions to IUSR_ and inherit the permissions.<br />
i. Right click on the PHPMyAdmin Virtual directory &gt;&gt; Properties &gt;&gt; Virtual Directory &gt;&gt; Configuration and map .php extention to PHP executable.</p>
<p><strong>OPTIONAL CONFIGURATIONS:</strong></p>
<p>Configuration for PHP v5:</p>
<p>These steps are only required if you want to use PHP5 for PHPMyAdmin, in PHP4 PHP extension php_mysql.dll is build in and extension php_mysqli is not supported.:</p>
<p>a. Edit file %SYSTEMROOT%\php.ini, under the &#8216;Dynamic Extensions&#8217; Section:</p>
<p>Uncomment line:<br />
<code>;extension=php_mbstring.dll</code></p>
<p>If using MySQL v4.0 : Uncomment line<br />
<code>;extension=php_mysql.dll</code></p>
<p>If using MySQL v4.1 : Insert line<br />
<code>extension=php_mysqli.dll</code></p>
<p>Edit config.inc.php and update server extension line:<br />
<code>$cfg['Servers'][$i]['extension'] = 'mysqli';</code></p>
<p>Enable phpMyAdmin&#8217;s Relational Features:</p>
<p>Please make a note that these steps are required for &#8220;Authentication Method &#8212; for multi-user (untrusted) environment&#8221;</p>
<p>Edit phpMyAdmin&#8217;s configuration file C:\www\phpMyAdmin\config.inc.php:</p>
<p><code>$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';</code><br />
<code>$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';</code><br />
<code>$cfg['Servers'][$i]['relation'] = 'pma_relation';</code><br />
<code>$cfg['Servers'][$i]['table_info'] = 'pma_table_info';</code><br />
<code>$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';</code><br />
<code>$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';</code><br />
<code>$cfg['Servers'][$i]['column_info'] = 'pma_column_info';</code><br />
<code>$cfg['Servers'][$i]['history'] = 'pma_history';</code><br />
<code>$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';</code></p>
<p>Now Run phpMyAdmin&#8217;s sql script file &#8216;create_tables.sql&#8217;:</p>
<p><code>C:\www\mysql\bin&gt; mysql -u root -p</code><br />
<code>mysql&gt; source C:\www\phpMyAdmin\scripts\create_tables.sql</code><br />
<code>mysql&gt; quit</code></p>
<p>That is it, you should be done with PHPMyAdmin installation on Windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/how-to-install-phpmyadmin-on-windows/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Secure your MS SQL Database Connection String</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-mssql-database-connection-string/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-mssql-database-connection-string/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 17:51:42 +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[MSSQL Server]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[ASP .NET]]></category>
		<category><![CDATA[Connection string]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Registry]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=197</guid>
		<description><![CDATA[Ways to secure your MS SQL connection string in ASP .NET. We have seen allot of people looking to have the best option to secure the connection string in their ASP .NET code to connect the MS SQL database since it contains the username and password of their database. It is very important to use [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Ways to secure your MS SQL connection string in ASP .NET.</strong></p>
<p>We have seen allot of people looking to have the best option to secure the connection string in their <strong>ASP .NET</strong> code to connect the <strong>MS SQL database</strong> since it contains the username and password of their database. It is very important to use a secure method for corporate clients and those who save Credit Card details in their MS SQL database. Or they will easily get hacked and all the important data will be exploited by the hacker. And also for those who store important data in MSSQL.</p>
<p>Here are the list of methods that can be used to secure your<strong> MS SQL connection string</strong> in your<strong> ASP.NET</strong> application.</p>
<p><strong>METHODS:</strong></p>
<p><strong>1. Using a DSN connection string:</strong></p>
<p><span id="more-197"></span></p>
<p>If you have the administrator users access to your Windows Server or use a control panel like Plesk then you can create a <strong>DSN </strong>with <strong>ODBC </strong>connector that stores the password of your database along with its name.</p>
<p>You will have to go to<strong> Start &gt;&gt; Administrative Tools &gt;&gt; Data Sources (ODBC) </strong>on your Windows Server with an account that has administrative privileges.</p>
<p>Or if you use a hosting control panel like Plesk that you can create the DSN from the control panel itself.</p>
<p>Once you have created the DNS you will have to mention it in your code as:</p>
<p><code>oConn.Open "DSN=mySystemDSN"</code></p>
<p><strong>2. Store your connection string either in web.config or global.asa:</strong></p>
<p>It is safe to have connection string stored in either web.config or global.asa, since IIS does not allow these files to be accessed from the browser. But it is recommended to enable custom errors in web.config or else the browser just displays the exact exact in the event of an error.</p>
<p>An example of web.config would be:</p>
<p><code><br />
</code></p>
<p><strong>3. Encrypt your connection String stored in Web.config.</strong></p>
<p>To make the connection string more secure you can encrypt your string if you application is written in ASP .NET 2 as this only possible with the new feature in asp.net 2.0 through the config API.</p>
<p>Steps to Encrypt your connection string in web.config:</p>
<p><strong>&#8211; Create a connectionstring section in web.config :- </strong></p>
<p><strong>&#8211; Run the command below:</strong></p>
<p><code>aspnet_regiis –pe -app optionally you can provide the machine or user store.</code></p>
<p><strong>&#8211; Get the connection string:- </strong></p>
<p><code>Response.Write(ConfigurationManager.ConnectionStrings</code></p>
<p><code>["Myconnstr"].connectionString.ToString());</code></p>
<p><strong>&#8211; You can also encrypt:</strong></p>
<p><strong>&#8211; To decrypt the connection string use aspnet_regiis –pd with the same parameters.<br />
</strong></p>
<p><strong>&#8211; There are more option available, such as:</strong></p>
<p>aspnet_regiis –pef<br />
aspnet_regiis -pdf</p>
<p><strong>4. Save the connection string in the Windows registry:</strong></p>
<p>You can also save the connection string in the windows registry, the only problem here is you have to give appropriate permissions on the registry so that your web user is able to read the data fron the registry:</p>
<p><strong>Procedure to follow:</strong></p>
<p>Add a registry key for your application under SOFTWARE/[YOUR_COMPANY]/[YOUR_APP]<br />
Add a string value for ConnectionString<br />
Teach your ConnectionFactory to crack open the appropriate registry key (in a static constructor, not every page load).<br />
Export the registry info as a .reg file, add it to source control, modify and apply it as necessary to set up additional machines.</p>
<p>You will also have to make sure that the user have appropriate rights on the register to read the data.<br />
<strong><br />
5. Save your connection string in a DLL.</strong></p>
<p>You can also save the connection sting the to a DLL using Visual Studio but this includes few disadvantages like, you will gave to decrypt the DLL to make any changes in the connection string and then again encrypt it. This makes things very complicated for you to manage your applications and specially when you have a shared hosting package.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/secure-mssql-database-connection-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove Viruses without using Antivirus !</title>
		<link>http://www.mywebhostingblog.net/aspnet-web-hosting/remove-viruses-without-using-antivirus/</link>
		<comments>http://www.mywebhostingblog.net/aspnet-web-hosting/remove-viruses-without-using-antivirus/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 17:37:03 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[ASP.NET Web Hosting]]></category>
		<category><![CDATA[Exchange Hosting]]></category>
		<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Window Hosting]]></category>
		<category><![CDATA[Anti viruses]]></category>
		<category><![CDATA[Archive]]></category>
		<category><![CDATA[attributes]]></category>
		<category><![CDATA[Command Prompt]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Hidden]]></category>
		<category><![CDATA[Read Only]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[USB Pen drives]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=182</guid>
		<description><![CDATA[One of the ways by which Computers get affected by viruses is through USB Pen drives. Anti viruses are unable to detect them and even if they do, in most cases they are unable to delete the virus. Following are the precautions you can take when plugging USB Drive on your Computer. Whenever you plug [...]]]></description>
			<content:encoded><![CDATA[<p>One of the ways by which <strong>Computers</strong> get affected by <strong>viruses</strong> is through <strong>USB Pen drives</strong>. <strong>Anti viruses</strong> are unable to detect them and even if they do, in most cases they are unable to delete the <strong>virus</strong>. Following are the precautions you can take when plugging <strong>USB Drive</strong> on your <strong>Computer</strong>.</p>
<p>Whenever you plug a <strong>USB drive</strong> in your system (which you think is infected by <strong>virus</strong>), do not open it -  Do not click &#8216;OK&#8217; !<br />
click on ‘Cancel’. Now open <strong>Command Prompt</strong> by typing ‘cmd‘ in run box.<br />
Type <strong>dir /w/a</strong> and press enter.<br />
Above <strong>command</strong> will display list of files in pen drive. Check in the list if the files are not</p>
<p>* Heap41a<br />
* New Folder.exe<br />
* Autorun.inf<br />
* svchost.exe<br />
* Ravmon.exe<br />
* or any other exe file which may be suspicious.</p>
<p>If any of the above files are present in the list, then your <strong>USB drive</strong> is infected. To remove these files, type the following <strong>command</strong> in <strong>command prompt </strong><br />
<strong>attrib -r -a -s -h *.*</strong> and press enter.<br />
This will remove from files <strong> Read Only</strong>, <strong>Archive</strong>, <strong>System</strong> and <strong>Hidden attributes</strong> .</p>
<p>The files which you will now be looking on are the junk files (<strong>viruses</strong>) and can be deleted using  <strong>del command</strong>. Delete all those files which you find suspicious. To be on a safer side, just scan again your  <strong>USB Pen drive</strong> using a <strong>anti virus</strong> to check whether it is free of <strong>virus</strong> or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/aspnet-web-hosting/remove-viruses-without-using-antivirus/feed/</wfw:commentRss>
		<slash:comments>0</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>Protect Apache WebServer From DDOS with mod_evasive</title>
		<link>http://www.mywebhostingblog.net/hosting-security/protect-apache-webserver-from-ddos-with-mod_evasive/</link>
		<comments>http://www.mywebhostingblog.net/hosting-security/protect-apache-webserver-from-ddos-with-mod_evasive/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 02:09:01 +0000</pubDate>
		<dc:creator>Rock</dc:creator>
				<category><![CDATA[Hosting Security]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Linux Server Hosting]]></category>

		<guid isPermaLink="false">http://www.mywebhostingblog.net/?p=500</guid>
		<description><![CDATA[What is Apache ? The Apache HTTP Web Server, we all well know it as Apache, is one of the world&#8217;s most widely used Web servers. It is very popular because of its strong security features, most outstanding performance &#38; the fact that it does cost us any thing. It comprehensively supports and it is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is Apache ?</strong></p>
<p>The <strong>Apache HTTP Web Server</strong>, we all well know it as Apache, is one of the world&#8217;s most widely used <strong>Web servers</strong>. It is very popular because of its strong security features, most outstanding performance &amp; the fact that it does cost us any thing. It comprehensively supports and it is most recommended for <strong>MySQL</strong> &amp; <strong>PHP/Perl/Python</strong> (and now also supports <strong>Ruby</strong>) programming languages.</p>
<p><img class="aligncenter size-medium wp-image-501" title="mod-evasive-apache-DDOS" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/04/mod-evasive-apache-300x45.gif" alt="mod-evasive-apache-DDOS" width="300" height="45" /></p>
<p>It&#8217;s available for all flavours of Unix (GNU/Linux &amp; UNIX systems), <strong>Microsoft Windows </strong>including other OS as well, for Example <strong>Linux </strong>distros such as  <strong>RedHat, SuSe, Debian, CentOs, Gentoo, Mandrake, Fedora</strong>, etc etc. Apache is used to serve both dynamic static content &amp; static Web pages on the Internet. Some web applications are developed expecting the features &amp; environment that Apache provides. It is one of the most basic feature in the hosting world is what allows your website to be seen by the world.</p>
<p><strong>What is a DDoS attack ?</strong></p>
<p><span id="more-500"></span></p>
<p><img class="alignleft size-full wp-image-502" title="linux-security-ddos-attack" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/04/linux-security-ddos-attack.jpg" alt="linux security ddos attack Protect Apache WebServer From DDOS with mod evasive" width="226" height="270" />A<strong> Denial-Of-Service </strong>attack (<strong>DoS attack</strong>) or <strong>Distributed Denial-Of-Service</strong> attack (<strong>DDoS attack</strong>) is nopthing but an attempt to make a domain name or a computer resource unavailable to its users by sending mass packets to it. Perpetrators of <strong>DoS attacks</strong> like to target domains/sites/hosts or services hosted with high profile <strong>webhosting </strong>servers such as credit card payment gateways, banks, &amp; even root <strong>nameservers</strong>.</p>
<p>The most common method of attack involves saturating the target (victim) machine with request that communicates externally, such that even the legimate traffic also does not get a response, or respond very slowly as to be effectively unavailable.</p>
<p>In general terms, <strong>DoS attacks</strong> are set so that the targeted computer(s) is either reset or consume all the available resources so that the target is no longer available to provide its intended service or to obstruct the communication between the users &amp; the victim so that there is no suitable communication between them.</p>
<p>There are several ways to stop such kind of attacks, most of the providers use &#8220;<strong>Proxy Shield</strong>&#8221; which is most effective services available today and can handle an attack upto 4GB per second. Although it is a very expensive service and only corporate websites can afford them. If you want to handle small DDos attacks then you can either go for a <strong>hardware firewall</strong> or a software application like the one below, which is very effective to handle DDos at its initial stage.</p>
<p><strong>About mod_evasive &amp; how does it prevent DDoS attack ?</strong></p>
<p><em><strong>mod_evasive</strong></em> is basically an evasive maneuvers module configured on Apache web server to provide evasive action where ever there is an <img class="alignright size-medium wp-image-503" title="apche-ddos-attack" src="http://www.mywebhostingblog.net/wp-content/uploads/2009/04/apche-ddos-attack-300x142.jpg" alt="apche ddos attack 300x142 Protect Apache WebServer From DDOS with mod evasive" width="300" height="142" />brute force attack or DDoS attack or HTTP DoS. You can also use it as a traffic detection or network management tool and can be effective configured to work with <strong>ipchains</strong>, <strong>routers</strong>, <strong>firewalls </strong>etc. You can also set mod_evasive up to send abuse reports via email &amp; <strong>syslog facilities</strong>.</p>
<p>It creats an internal dynamic hash table of IP Addresses for detections &amp; URIs and denying any single IP if any of the following is true:</p>
<p><strong>&#8211; Making any requests while temporarily blacklisted on the server.<br />
&#8211; Single page on your website is access for more then n number of time.<br />
&#8211; Establishing more than 50 concurrent connections per second on the same child.</strong></p>
<p>This method works well on both attacks, may it be single-server script attackor a distributed attack but like any other evasive tools it is only useful to the point of processor consumption &amp; bandwidth hence to configure this tool with your firewalls &amp; routers gines out the maximum protection to your dedicated server as well as webhosting sites.</p>
<p>This module is instantiated for each listener individually that is every time when there is a HTTP request to <strong>Apache Web Server</strong> and therefore the evassive tool has a built-in scaling capabilities &amp; cleanup mechanism. Because of this per-child design, only the scripted attacks get cought and blocked access and legitimate requests are never compromised even if they come from<strong> NAT addresses</strong> or<strong> proxies</strong>. Even if the user repeatedly click on &#8216;reload&#8217; button should not be affected unless they do it maliciously. One can tweak <strong>mod_evasive</strong> fully through the Apache configuration file that is<strong> httpd.conf </strong>and it is very easy to incorporate into your <strong>Linux web hosting server</strong> and most important, easy to use.</p>
<p><strong>Here are the steps to install mod_evasive:</strong><br />
<strong><br />
Install &amp; configure it on a Linux Server:</strong></p>
<p>Login to the server as root &amp; execute following connabds one bu one:</p>
<p><code>cd /usr/local/src<br />
wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz<br />
tar -zxvf mod_evasive_1.10.1.tar.gz<br />
cd mod_evasive</code></p>
<p><em><strong>For Apache 2.0.x</strong></em></p>
<p><code>/usr/sbin/apxs -cia mod_evasive20.c</code></p>
<p>Then add add this too httpd.conf</p>
<p><code>DOSHashTableSize 3097<br />
DOSPageCount 6<br />
DOSSiteCount 100<br />
DOSPageInterval 2<br />
DOSSiteInterval 2<br />
DOSBlockingPeriod 600</code></p>
<p><em><strong>For Apache 1.3.x</strong></em></p>
<p><code>/usr/local/apache/bin/apxs -cia mod_evasive.c</code></p>
<p>Then add this too httpd.conf</p>
<p><code>DOSHashTableSize 3097<br />
DOSPageCount 6<br />
DOSSiteCount 100<br />
DOSPageInterval 2<br />
DOSSiteInterval 2<br />
DOSBlockingPeriod 600</code></p>
<p>Now just restart <strong>Apache web hosting server</strong> &amp; the installation is complete..</p>
<p><code>/etc/init.d/httpd restart</code></p>
<p>Congratulations.. your<strong> Linux Apache web hosting server</strong> is now more safer from the <strong>DDoS attacks</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mywebhostingblog.net/hosting-security/protect-apache-webserver-from-ddos-with-mod_evasive/feed/</wfw:commentRss>
		<slash:comments>1</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>
