Setting up a web site on local machine using IISBy using IIS (Internet Information Services ) we can run a website in local computer. For this we have to configure our machine and mainly IIS to identify and run the website placed in a directory. We will not discuss about basic html for designing a site here and we will only discuss on how to configure and run website by using IIS.IIS comes with Windows XP operating system and also with server operating system of Windows. InstallationPlace all the files of the website ( developed ) in one directory. For the first time users it is better to store in c:\intput\wwwroot\ as this is the default home directory for IIS.Opening IIS admin panel![]() Configuration of IISExpand all the collapsible ( + ) symbols at the left to get the default website icon. Select this default Website and right click. Select the property link on the menu that appears. In the opened window many admin jobs for IIS can be done. We will only concentrate on setting up the site. Go to the tab ( at the top ) saying Home Directory. Here the directory where our website files are stored is to be marked as home directory. By default IIS keeps c:\Inetpub\wwwroot as the home directory. This path can be changed to any other location of the computer.Opening the website![]() This is how a website can be maintained in a local machine. For practice try changing default directory path and see how it can be pointed to different locations in local machine. We have not discussed how script execution like running an ASP or PHP script can be given at this website. We will try that in our next tutorial. Read how to configure and run php on IIS Installing PHP5 in IIS on Window platforms
This article is written by plus2net.com team.
Be the first to post comment on this article : ![]() |