configure iis (webserver)

30
Configure IIS(WEB Server) on WINDOWS SERVER 2003 or XP Use IIS Globally Host your website on the local server and Access from anywhere in the world

Upload: atul-bhola

Post on 14-Dec-2014

3.935 views

Category:

Technology


1 download

DESCRIPTION

IIS (Web Server). We use this program to host a website on local system and which we can access Globally or from anywhere in the world. we can use Dynamic or Static IP for the host name which can redirect us to our IIS Server which is placed locally in our office or in our home.

TRANSCRIPT

Page 1: Configure IIS (Webserver)

Configure IIS(WEB Server) on WINDOWS SERVER 2003 or XP

Use IIS GloballyHost your website on the local server and Access from anywhere

in the world

Page 2: Configure IIS (Webserver)

Steps for configuring the WEB SERVER

• Install .net framework 3.5 sp1(for accessing dot net files)• IIS Installation• Create a virtual directories and place the website

contents in that.• Configure a Host Name or Domain Name with Static or

Dynamic IP.• Install DynDns Updater software (Not for Static IP) in the

system• Configure your Router or Firewall for port forwarding.• Access the Web Site from the WAN.

Page 3: Configure IIS (Webserver)

Install .net framework 3.5 SP1

• Follow the link http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=ab99342f-5d1a-413d-8319-81da479ab0d7&displayLang=en

• Here you will get the set up of the same and then install it in the system

Page 4: Configure IIS (Webserver)

IIS Installation

• On the Start menu, click Control Panel. • Double-click Add or Remove Programs.

• Click Add/Remove Windows Components.

Page 5: Configure IIS (Webserver)

• The Windows Components Wizard will appear. Check

Internet Information Services (IIS) and click on Details.

Page 6: Configure IIS (Webserver)

Select the check boxes for SMTP Service andWorld Wide Web Service, and then click OK.

Now IIS will Install (put the CD in CD ROM Drive if it asks,just click on Finish.

Page 7: Configure IIS (Webserver)

Open IIS

Page 8: Configure IIS (Webserver)

Create a Virtual Directory• Right click on Default Directory → click new → virtual

Directory

Page 9: Configure IIS (Webserver)

• Click Next

• Give the name to the Directory

Page 10: Configure IIS (Webserver)

Enter the Path of the directory which containsthe website contents.

Create a folder which will contains the contents

Page 11: Configure IIS (Webserver)

Apply permissions to the

Virtual directory.

Click on Finish

Page 12: Configure IIS (Webserver)

Now place the website contents in the virtual directory folder which you will find on the location C:\Inetpub or where you created that .Just go to the location by:-

Page 13: Configure IIS (Webserver)

Install .net framework 3.5 sp1

(for accessing dot net files)

Copy the following location where Microsoft.net framework is installed.

Page 14: Configure IIS (Webserver)

• Paste in run and hit enter

Page 15: Configure IIS (Webserver)

• Run the following command and hit Enter :-

Page 16: Configure IIS (Webserver)

Check the website on the localhost. By typing

http://localhost/tweet/index.aspx

The site is working on the LAN but not accessible globally from

the WEB SERVER.

So we need to do some more settings to make it accessible by

configuring a host name and Router or Firewall.

Page 17: Configure IIS (Webserver)

Configure a Free Host Name or Domain Name

with Static or Dynamic IPGo to the Website WWW.DYNDNS.COM then create your account or

follow the link:-

https://www.dyndns.com/account/services/hosts/add.html

Create a host name and fill the dynamic or static IP

Page 18: Configure IIS (Webserver)

After creating a host name check the all entries and save it.

Page 19: Configure IIS (Webserver)

Install DynDns Updater software

(Not for Static IP) in the systemThis software will update your dynamic ip with host name as

this will synchronize with the dyndns server.

Follow the link to get the software dyndnsUpdater

https://www.dyndns.com/support/ Run the Setup

Page 20: Configure IIS (Webserver)
Page 21: Configure IIS (Webserver)
Page 22: Configure IIS (Webserver)
Page 23: Configure IIS (Webserver)
Page 24: Configure IIS (Webserver)

Open the dyndns and enter the user name and password of

your account which you created in the dyndns.com website

Page 25: Configure IIS (Webserver)

• Now this will synchronize with the server dyndns.com and will update your dynamic IP to your host name.

Page 26: Configure IIS (Webserver)

• Check on these two host name you have and click ok.

Page 27: Configure IIS (Webserver)

Configure your Router or Firewall for port

ForwardingGo to the advanced setup option → NAT →Virtual Server

Click on hTTP_Server and mention the port number 80.

Fill the local IP address of the server in which IIS is installed and Click Save and finish.

Page 28: Configure IIS (Webserver)

This website will not be accessible from the same LAN. If you will try to access this will give the following error.

Page 29: Configure IIS (Webserver)

• Now go to the another LAN or WAN and access this website with you host name.

Page 30: Configure IIS (Webserver)

Its all done .Now you can run your website in local Web

Server which will be accessible Globally.

Presented By:-

Atul Bhola

System Administrator

Email Id:- [email protected]

Contact number:- +91-9915199139