BIGBILLYDOTCOM'S GUIDE TO WEB SITE AND IIS SETUP IN WINDOWS XP PRO

If you havent yet - Install IIS services (Start...Settings...Control Panel...Add/Remove programs...Add/remove Windows Components)
-----DBL CLICK IIS SERVICES
---------PUT CHECK NEXT TO Common Files,Documentation,Front page 2000 SE,IIS Services Snap-in,SMTP Service, WWW Service...click OK
-----Follow prompts to complete installation

**************************************************

--Next - turn off simple file sharing
-----Dbl Click My Computer
-----On the menu click Tools...Folder Options...View
-----scroll to the bottom of the list and take the check out of simple file sharing
-----click apply
-----Close that window

**************************************************

Then you have to reset the IIS and NTFS permissions on the intetpub folder prior to configuring FPSE

I KNOW-I KNOW-I KNOW - YOU CHECKED IT AND IT "LOOKS" OK - BUT YOU HAVE TO DO
THESE STEPS TO MAKE SURE ALL SETTINGS ARE ACTUALLY SET ON ALL FILES

**************************************************

Check/Fix IIS permissions:
-----Start IIS Manager (Start...Settings...Control Panel...Admin Tools...IIS)
-----Expand the Web Sites Folder under the local computer (Click + next to server then + next to Websites)
-----Rt-click the Default WebSite...Properties
-----Click Directory Security Tab - Click Edit button in the Anonymous Access section at the top
-----Anonymous Access, Allow IIS to manage password and Integrated Windows Authentication should be checked
WARNING - DO NOT MESS WITH THE IUSR_COMPUTERNAME AND PASSWORD IN THOSE BOXES
-----Click OK
-----Click Home DIrectory - Local Path should be c:\inetpub\wwwroot
-----Only read,Log visits, and Index this resource need be checked
-----Under Application Settings - If the Application Name is blank - click create button and enter a name (any name)
-----Change Execute permissions to Scripts only (unless your web uses a cgi programs, then change to scripts and executables - if you dont know what cgi is, leave it set to Scripts only)
-----Set application protection to medium (pooled)
-----Click Apply and then OK to close that window
-----Close IIS Manager
-----Open a command prompt window (Start...Programs...Accessories...Command Prompt)
-----Type iisreset then press enter - this will reset IIS and make sure those changes take hold
-----Close command prompt window

*******************************************************

Next, do NTFS permissions:

-----DBLClick My Computer
-----DblClick C Drive
-----Right Click Inetpub folder...Properties
-----Click Security tab
-----If IUSR_computername or IWAM_computername (where computername is the name of your computer) is not in the list
-------Click Add
-------Click Advanced
-------Click Find Now Button
-------You will see list of Users - scroll until you see IUSR_computername - hold the ctrl key on you keyboard then click the name to highlight it
-------You will see list of Users - scroll until you see IWAM_computername - hold the ctrl key on you keyboard then click the name to highlight it
-------With Both IUSR and IWAM highlighted, click OK twice
-----You should now see the IUSR and IWAM accounts in the Group or user name box
-----Click Internet Guest Account (Computername\IUSR_computername)
-----In the Allow column, make sure check marks are in Read & Execute,List Folder Contents, and Read...Click Apply
-----Click Launch IIS Process Account (Computername\IWAM_computername)
-----In the Allow column, make sure check marks are in Read & Execute,List Folder Contents, and Read...Click Apply
-----Make sure the user you are logged in as (Usually Adminisitrator) is in list and in Allow Column check Full Control
-----Click apply button
-----Click advanced button
-----Take check out of the "Inherit from parent the ..." box
-----A window will popup - Click the Copy Button - this will copy those permissions to folder
-----Put check in box "replace permissions..." and click apply and yes to continue
-----Click ok twice to close those windows then close explorer window
-----Open a command prompt window (Start...Programs...Accessories...Command Prompt)
-----Type iisreset then press enter - this will reset IIS and make sure those changes take hold
-----Close command prompt

***************************************************

The SMTP server is used by the FPSE to send email from the website, so you have to configure it
Also - if it is not configured correctly spammers can use your server as an open realy (that is bad and could possibly get your ISP account terminated)

***************************************************

Then Configure SMTP SERVER:
-----Start IIS Manager (Start...Settings...Control Panel...Admin Tools...IIS)
-----Rt click SMTP server...Properties



-----Set to your internal Ip address...click apply


-----Click Access tab
--------Click Authentication...put check in Anonymous Access
--------Click OK
--------Click Connection...Put check in All except list below
--------Click Relay..Check Only the list below...Click Add
--------Enter the IP address you assigned to the website in previous steps
!!!WARNING!!! - TAKE CHECK OUT OF "ALLOW ALL COMPUTERS ..."check box otherwise you are an Open Relay
--------Click OK...Click Apply
--------Click Messages Tab...Add your email address to the "Send a copy of non-delivery..."
--------Click Apply
--------Click Delivery Tab
(SKIP THese NEXT 2 STEPs IF YOU DONT NEED A USERNAME/PASSWORD TO SEND MAIL THROUGH YOUR ISP's SMTP SERVER)
----------cLICK oUTBOUND SECURITY...Check Basic Authentication...Enter your email username and password
----------Click OK...Click Apply
--------Click the Advanced button
--------In Masquerade domain and Fully-qualified domain name, enter your website name with out the host name (i.e. bigbilly.com instead of www.bigbilly.com)
--------NOTE - THIS IS IMPORTANT STEP - SET YOUT ISP's SMTP SERVER AS SMART HOST..DONT CHECK THE OTHER 2 CHECK BOXES
--------CLICK APPLY, OK, THEN CLOSE ALL SMTP SERVER WINDOWS

**************************************

Download and install FPSE 2002
(http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=5CC0A845-1884-4A16-A8CB-25D2F0815FA3)

Configure FPSE 2002

**************************************
-----Start IIS Manager (Start...Settings...Control Panel...Admin Tools...IIS)
-----Expand the Web Sites Folder under the local computer (Click + next to server then + next to Websites)


 

-----Rt-click the Default WebSite...Properties - Set as Below


-----You should now see a tab for Server Extensions 2002, Click that tab

-----Click the settings button

Now you are ready to admin the sites with FPSE and you should get the admin pages no problem
use a little common sense in filling in the fields on the first page and then submit



If you have gotten this far - You Front Page Server Extensions should be ready and working

Your front page webs are now ready to be created

With Windows XP Pro - you are limited to 10 connections (not users-connections) so resources can go quickly if you think you are going to use this to serve an even
moderately busy site - you are in for a letdown - but for developmental purposes, its not a bad setup

Now - you can't create any webs, only subwebs of the default web server

SO - easiest way to add a new subweb with frontpage is:

-----Start Frontpage...File...New Web...Click Web Site templates from list on right...Select a web template
-----Where it asks to specify the location of the new website, enter the IP address you setup earlier with a folder name for the subweb
-----I.e. enter http://192.168.1.147/bigbillysdemoweb...click ok
-----it will ask for username password - you will need to enter Administrator and the admin password
-----put a check in the box to save your login
-----This will create the new subweb site - create your form there and test it by previewing in the browser
-----it should submit, give you confirmation, and when you go the private folder you will be able to open .txt file and see your results

To Publish a Disk Based Web do the Following:

Open the Disk-based web - you know its a disk based web cause it will have a Hard Letter to Start instead of a website http:// - I added a Hit Counter Component Just for Example


 

Now I'll Save that Disk-based webpage then view it in a browser

Notice my hit counter doesnt work because in order for Website Componenets to work - the disk-based site has to be published to a webserver - since we just installed IIS on our local computer - lets publish it there into a subweb

Click File...Publish Site - enter http://localhost then add a subweb name (make something up - see below)


 

you should get a warning that the site doesnt exist - Click Yes to Create it

The Publish Web window will open - Click Publish Website in the lower right hand corner

It will then "publish" the files to the webserver and you'll get the screen below

Click View your Remote Web Site and it will open in a browser

WOW - The hit Counter and all web features work - GLORY!!!!!!

Thats ALL!!!!

HAVE FUN

for info on FPSE:
http://www.microsoft.com/serviceproviders/resources/techresarticlesfp.mspx

there ya go!
BigBilly