Dot Net tutorials for New Comer

Provide tutorials on ASP.net, MVC based CMS, Windows Forms, WCF, WPF for new comer, professionals.

How to host web site in IIS

No comments
IIS (internet information services) is a server provided By Microsoft to host web site. Now we are going to learn how to host simple HTML website in our local host (IIS).
 
Step1- Design a page with simple HTML.
Open Text-Editor (Notepad) and past blow html code.


<head>
<title>

  How to Host web site in IIS

</title>

<body>

  <h1>Hello World.!!!!</h1>

  <p> My demo site is ready with IIS (internet information services) </p>

</body>

</head>
 
Save file as index.html in any new directory, like I created “C:/IISDemo”.

Step2- Open IIS
First check your IIS is working or not, to check open any browser and type localhost in url and press enter. If IIS is working properly blow iis image will show.
And if IIS is not working so first install IIS , For install visit here

Ok then Press windows key + R.
Type inetmgr and press Enter.
IIS Manager will open. 

Step3– Expand left side connection and find “Sites”. Then Right click on “Sites” and select “Add Web Site…”  Add Web site window will open.


Step4–  
     Type Site name - in demonstration “IISDemo”
Select Physical path - browse and select directory, which is having HTML file. In demonstration  “C:\IISDemo” .

Type any free port for our site. In demonstration “5455”.
Click on OK.


Step5– Right Click on IISDemo and than Manage Web site, and then click Browse.
Your website is ready, you can past any working template in C:/IISDemo and check it again.


Thanks..

No comments :

Post a Comment

How to Reset IIS (Internet Information Services) in 2 steps

5 comments
Reset IIS


Step1- Press windows key + r OR click start and type run in search, click Run at the top of search

Step2- In the Run text box, type IISReset, and then click OK
Window will open to show status of IIS
Your IIS will be reset successfully. 


Thanks For giving your precious time.

5 comments :

Post a Comment

How to Configure or Install IIS in windows 7

1 comment
Configure IIS
Step1 - On the Start menu, click Control Panel


Step2 - Click on Large icons. Or Skip this step if you don’t see this window.


Step3 – Find Programs and Features and Click on it.



Step4 – On the left hand side, click on “Turn Windows features on or off”


Step5 – Scroll down and find Internet Information Services, Expand it and Checked all options of IIS.
Note: - Check all carefully, if anyone is not checked you may get problem future.



Step6 – Click Ok. And wait for Changes.



Now check your IIS is working or not, to check open any browser and type localhost in url and press enter. If IIS is working properly blow iis image will show.



Your IIS is ready for use.
Now Press windows key + r OR click start and enter run in search, click Run at top of search.
In Run text box, type inetmgr, and then click ok.


Thanks For giving your precious time.

1 comment :

Post a Comment