Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Host a Website - IIS7.5


Host a Website - IIS7.5

Host a website using IIS7.5
Published by Orbital Shark
06 Sep 2009
Published by

Host your own website using IIS7.5

information   Information
Windows 7 comes with a very handy application/tool set called Internet Information Services 7.5 which allows you to use any PC (Home or on a Network) as a server for your newly created website

Note   Note
You will need to register a DNS Host from here for free, purchasing a Domain is Optional

Update:
You can host a website without the need to register a Dynamic DNS host name. If you visit YouGetSignal it will give an External Address which can be used instead of the host name. For example, typing "http://x.xxx.xx.xxx" into your browser address bar will gain you access to the site you're hosting.
Note   Note
You can only host 1 website by using this method unless you add "/[new folder]/" to the end of the address


You will also need your IPv4 address, run command prompt (type cmd into the Start Menu) and type ipconfig, scroll up slightly & take note of your IPv4 address. This will be used to configure your router.

Special thanks goes to z3r010 for the majority of this information


Here's How:

Part 1: Acquiring the DNS Host

Go to www.no-ip.com and register for free. Click the 'Add Host' button and you will be give the option to name your host.

Name:  Add Host.PNG
Views: 50308
Size:  12.1 KBHost a Website - IIS7.5-enter-details.png




Just enter the name of your website and choose a prefix then click 'Create Host' (highlighted in image)
Note   Note
That is all the info you need to enter to create your DNS Host. It is also recommended that you download their NO-IP software too, as this will manage/sync your host.
Part 2: Installing & Using IIS7.5

1, Access 'Control Panel, and click 'Programs' followed by 'Turn Windows features on or off'.

Host a Website - IIS7.5-control-panel.png




2, Click the checkbox for each of the Internet Information Service toolsets then click 'OK'

Note: A system restart may be required

Name:  Windows Features.PNG
Views: 5063
Size:  44.8 KB




3, Run the IIS Manager - in the Start Menu type "IIS"

Host a Website - IIS7.5-iis-opened.png




4, Right-Click on 'Sites' and click 'Add Web Site'

Note: You may need to 'Expand' the explorer branch to allow you to see 'Sites'

Host a Website - IIS7.5-iis-new-site-1.png




5, Enter a 'Site Name', this can be anything (E.g. My New Site), 'Phisical Path' (E.g. C:\MY_SITE) and 'HOST Address', this is the address of the HOST you created in step 1 (e.g. my-new-site.no-ip.org) and click OK

Name:  IIS New Site 2.PNG
Views: 5482
Size:  49.4 KB



Step 3: Router/Windows Firewall exception

1, In the Start Menu, type "firewall" and click 'Windows Firewall with Advanced Settings'

Host a Website - IIS7.5-windows-firewall.png




2, Click 'Inbound Rules' then 'New Rule' to start the 'New Rule Wizard. Click 'Port' then 'Next'

Host a Website - IIS7.5-inbound-rule-1.png




Click 'TCP' and enter port '80' then click 'Next'

Host a Website - IIS7.5-inbound-rule-2.png




Click 'Allow the connection' then click 'Next'

Host a Website - IIS7.5-inbound-rule-3.png




Click the rules that apply, then 'Next'

Host a Website - IIS7.5-inbound-rule-4.png




Lastly, name the new fule & click 'Finish'

Host a Website - IIS7.5-inbound-rule-5.png




You will see that the new rule has now been created and you can close Windows firewall

Host a Website - IIS7.5-see-new-rule.png




Note   Note
You will need to consult your router documentation for details on how to allow firewall exceptions


The 2 exceptions you will need to configure are
  • 'Outbound service' - Always allow HTTP(TCP:80)
  • 'Inbound Service' - Always allow HTTP(TCP:80) and 'Send to lan server' within that (enter your IPv4 address)
Now when you type the HOST address, e.g. no-ip.org, you, and others, will be able to access your site.
.

06 Sep 2009   #1
z3r010

 

If you want to add php support etc then the quickest way is to use the Web platform installer:-

Download the Microsoft Web Platform

My System SpecsSystem Spec
.

06 Sep 2009   #2
septprince

Window 7 build 7600, Xp pro(VM)
 
 

NIce tutorial, thanks guys............

I think now it is time for me to send Apache web server to Recycle bin..
My System SpecsSystem Spec
06 Sep 2009   #3
Tews

64-bit Windows 8.1 Pro
 
 

Apache is ok except its not native to Windows. Once you finally find your way around and get it going its fine ... once you get it going ... Im not sayin, Im just sayin!!

Nice Tutorial!!
My System SpecsSystem Spec
06 Sep 2009   #4
septprince

Window 7 build 7600, Xp pro(VM)
 
 

Quote   Quote: Originally Posted by Tews View Post
Apache is ok except its not native to Windows. Once you finally find your way around and get it going its fine ... once you get it going ... Im not sayin, Im just sayin!!

Nice Tutorial!!
yesterday I spend the whole day to get it working but I failed very badly..

Check this thread out Apache web server help.
My System SpecsSystem Spec
06 Sep 2009   #5
Dinesh

Windows® 8 Pro (64-bit)
 
 

Nice work Jeff.
My System SpecsSystem Spec
06 Sep 2009   #6
Dinesh

Windows® 8 Pro (64-bit)
 
 

Quote:
The 2 exceptions you will need to configure are
  • 'Outbound service' - Always allow HTTP(TCP:80)
  • 'Inbound Service' - Always allow HTTP(TCP:80) and 'Send to lan server' within that (enter your IPv4 address)
Could you please tell me how do you do that? I m almost done, except this.
My System SpecsSystem Spec
06 Sep 2009   #7
Orbital Shark

 
 

You will need to access your router setup, just type in the IP address of the router homepage into your browser.

You then need to access the 'Securty' features, then 'Firewall' and add an exception to both 'Incoming' and 'outgoing

What router do you have, I may be able to help in more detail
My System SpecsSystem Spec
06 Sep 2009   #8
Dinesh

Windows® 8 Pro (64-bit)
 
 

I dont have a router. Its direct.
My System SpecsSystem Spec
06 Sep 2009   #9
Orbital Shark

 
 

Ah, in that case i'm not sure sorry

Hopefully someone may be able to help you
My System SpecsSystem Spec
Comment

 Host a Website - IIS7.5





Tutorial Tools



Similar help and support threads for2: Host a Website - IIS7.5
Windows 7 Tutorial Category
How to Setup a web site with iis7 Network & Sharing
IIS7 404.0 Error on Facebook Browsers & Mail
IIS 7.5 Help and generally helping me complete my first website host Software
IIS7 Slow Problem Browsers & Mail
IIS7 Failing BSOD Help and Support
How to create a simple website with IIS7.5? Software
IIS7, ASP and access db's Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 02:46 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33