IIS
(INTERNET INFORMATION SERVICES)
IIS is a service mainly used to run websites on the Intranet and as well on the Internet. IIS can be used to create Web Server. IIS is also used to run services like FTP service.
IIS can be installed in win 2000/2003/NT server computer. Windows server 2003, Web Edition is specially designed to run IIS.
IIS is also available in client OS like Win 2000 professional and XP professional. But IIS service in client OS is limited and can support only 10 users at a time.
Website is a collection of documents. The protocol HTTP (Hyper Text Transfer Protocol) is used to access websites by the clients from the Web Server.
HTTP uses the default logical port number 80.
The software 'Apache Server' can also be used to configure a Web Server.
HOW TO INSTALL IIS?
1. IIS is installed by default in win 2000 server.
2. To install IIS in 2003 server, give an ip to the server and connect the server to the network.
3. Go to Control Panel > Add or remove programs > Add/Remove Windows Components > Select 'Application Server' > next > Insert 2003 server CD if prompted > next > finish.
HOW TO HOST WEBSITE IN IIS?
1. In any drive, create a folder named as 'site'.
2. Save some text or html file in it. This will be your website.
3. Open programs > administrative tools > IIS.
4. Click on the computer-name.
5. Click on the 'Websites'.
6. Right-click on 'Default Website' > stop.
7. Right-click on 'Websites' > New Website.
8. Click next and in the Description, type anything you like.
9. Select the ip address and click next.
10. Click on Browse and select the folder 'site'.
11. Click next and select all the options other than option 'write' or simply select Browse.
12. Click next > finish.
13. Now right-click on the website you have created > properties > documents > Click on Add > type the name of the file present in the folder ‘site’ > O.K. and click on Move Up .
14. Click Apply & O.K.
15. Now go to the client PC and open Internet Explorer.
16. Type the ip of the server and press enter to open the website.
http://ip or name of server/
e.g.,
http://10.0.0.l/
ACCESSING WEBSITE WITH DNS NAME OR WWW NAME
1. Create a website in the IIS.
2. Install DNS and open DNS.
3. In the DNS, create a primary zone with name 'test.com'.
4. Right-click on the test.com > New Host
5. Type name of your PC and the ip address.
6. Click Add > Done.
7. Right-click on test.com > New Alias
8. In the Alias Name, type www.
9. In the FQDN, type full DNS name of your PC (e.g.,pc1.test.com).
10. Now go to Client PC and give DNS server address.
11. Open Internet Explorer and type
www.test.com
12. Press Enter. Your Website will open.
Alias Name is a nick name or another name for a Full Qualified Domain Name (FQDN).
HOSTING TWO WEBSITES IN IIS WITH DIFFERENT IP ADDRESSES
1. Go to your server, install two NIC cards and give different ip to each NIC card.
2. You want to use single NIC card, give two ip addresses to the NIC card. To give a second ip,in the TCP/IP properties, click on Advanced > Add > type the ip > Add > O.K.
3. Create two folders - site1 and site2. Save some text or html files in it.
4. Open IIS, create a website using the folder site1 and the first ip.
5. Create a second website using the folder site2 and the second ip.
HOSTING TWO WEBSITES IN IIS WITH SAME IP ADDRESS
1. Go to your server and give an ip address to it.
2. Open DNS and create two zones - philips.com and onida.com.
3. Also create alias names or WWW names in the two zones.
4. Open IIS and right-click on websites > new website.
5. Click next > next.
6. Select the ip and in the 'Host header for this website', type
www.philips.com
7. Click next > next > next > finish.
8. Again right-click on Websites > new website.
9. Click next > next.
10. Select the ip and in the 'Host header for this website', type
www.onida.com
11. Click next > next > next > finish.
12. Go to your client and give DNS server address.
13. Open Internet Explorer.
14. Type www.philips.com to open the website and then type www.onida.com to open the second website.
HOW TO SECURE WEBSITE?
1. Go to computer management, create some users and give password to each user.
2. Create a group named as 'Web Users'.
3. Add all the users to this group.
4. Open IIS, create a website.
5. Right-click on the website you have created > properties > Directory Security > Edit.
6. Uncheck the option 'Allow anonymous access'.
7. Select 'Basic authentication' and click yes.
8. Click Apply & O.K.
9. Again right-click on the website > Permissions > Advanced.
10. Uncheck the option 'allow inheritable..............’
11. Click Remove > Apply & O.K.
12. Give 'Allow full control permissions ' to administrators.
13. Click on Add > type Web Users > O.K.
14. Click Apply & O.K.
15. Go to client and open Internet Explorer.
16. Type the ip of the server.
17. Press Enter.
18. You have to type username and password to open the website.
FTP SITE
FTP stands for File Transfer Protocol. A computer running FTP service is called FTP server. FTP is mainly used to transfer files from one PC to another. In Internet, it is used to download and upload files.
In the FTP server, we create a FTP site which has files that can be downloaded from the client PC.
HOW TO INSTALL FTP SERVICE?
1. FTP is a component of IIS.
2. Go to a 2003 server computer and go to control panel > add or remove programs > add/remove windows components > select 'application server'.
3. Click on Details > Highlight IIS >details > select FTP service > O.K.
4. Click next > insert CD of 2003 > next > finish.
HOW TO CREATE FTP SITE?
1. In any drive, create a folder 'ftp'.
2. Save some file having extension as .msi or .exe.
3. Open IIS and click on computer-name.
4. Click on FTP Sites and right click on default FTP site > stop.
5. Right-click on FTP Sites > new FTP site.
6. Click next.
7. In the Description, type anything you like > next.
8. Select the ip address > next > next > finish.
9. Now go to the client PC and type:
Ftp: //ip of your server/
e.g.
ftp://10.0.0.1/
Wednesday, October 21, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment