• Home

Logo

Navigation
  • Home
  • Articles
    • Content Writing
    • Design
    • General
    • Internet Marketing
    • Social Media
    • Tools and Tips
    • Usability
    • Web Hosting Articles
  • Tutorials
    • AJAX Tutorials
    • ASP Tutorials
    • C# Tutorials
    • CGI and Perl Tutorials
    • CSS Tutorials
    • Flash Tutorials
    • HTML Tutorials
    • Illustrator Tutorials
    • Java Tutorials
    • JavaScript Tutorials
    • Linux Tutorials
    • Miscellaneous Tutorials
    • MySQL Tutorials
    • Photoshop Tutorials
    • PHP Tutorials
    • Python Tutorials
    • Wireless Tutorials
    • WordPress Tutorials
    • XML Tutorials
  • Scripts
    • AJAX Scripts
    • ASP Scripts
    • ASP.NET Scripts
    • CGI & Perl Scripts
    • Flash Scripts
    • Java Scripts
    • JavaScript Scripts
    • PHP Scripts
    • Python Scripts
    • Remotely Hosted
    • Tools and Utilities
    • XML Scripts
  • Answers
  • Online Services
  • Tools

Installing Personal Web Server

By Amrit Hallan | on Jun 9, 2004 | 0 Comment
ASP Tutorials
  • Tweet
  • Share
  • Tweet
  • Share

Installing Personal Web Server

If you want to work with ASP (Active Server Pages) on your personal computer, you need to install the Personal Web Server (PWS). As the name indicates, it’s a server. Unlike the normal HTML pages, dynamic pages (either created with CGI, PHP, ASP or Cold Fusion) require some sort of a server to carry on their business. Without a server, you can create a dynamic page, but you cannot view it decently in the run-time mode.

Since I mostly work with the Active Server Pages using PWS, I’ll tell you how to install the PWS.

It ships free with the Win98 CD, and should be in the add-ons folder.

From there, install the PWS on your computer. The installation program creates a folder, inetpub in the directly you specify during the installation. This inetpub, further has a folder, wwwroot. So if you install your PWS on your C drive, the wwwroot path should be

C:\INETPUB\WWWROOT

All the files that you create, you store under wwwroot. What we generally do is, we create separate folders for separate projects under the wwwroot folder. So if I created bytesworth folder in wwwroot folder, the full path should be

C:\INETPUB\WWWROOT\BYTESWORTH

And when I have to view the page on my browser, I’ll have to type

http://localhost/bytesworth

as the URL.

After you’ve installed the PWS, it’s icon appears on your desktop, and at the bottom right of your screen. Click or double-click on the icon. On the main window, you should see the message:

Web publishing is on. Your Home page is available at http://servername

The servername is the name you use instead of localhost. But if you are confused about this name game, just use localhost and it should always work if you haven’t been naughty and messing around with your computer’s basic setup.

Before you proceed further, open the Windows Explorer, go to c:\inetpub\wwwroot and create a new folder here by the name of “learnASP” (how boringly predictable! So you can name it something else). We’ll be storing ALL our files in this folder.

Hence, whenever we want to run a newly created file, we’d type in the location bar:

http://localhost/learnASP/newfile.asp and press Enter.

Ok, next, click on the Advanced tab. Select Enable Default Document

In the Default Document(s) box, type the list of file names you would like to use as your default file once the name of your site is type in the browser.

If you have no idea what’s the default file, it is the file that answers your call when you type a specific URL without a specific file. For instance, if I type http://www.bytesworth.com the file that actually gets loaded by default is DEFAULT.ASP. This depends on the setting. Some servers use INDEX.ASP or INDEX.HTML or INDEX.SHTML. It all depends on the file parsing set up on your web-hosting server.

Then click on the Edit Properties button, after selecting the Home folder. There are three select boxes, viz., “Read”, “Execute”, “Script”. Select all of them. The selections tell the server that we want to execute server side scripts in our ASP pages. ASP pages won’t run if the server can’t read and execute them.

Close the window, and your PWS is running. Of course do not run two servers simultaneously. So if you installed the Apache Web Server and left it running, and then loaded PWS, there is going to be some problem for you to sort out.

Share this story:
  • tweet

Author Description

Amrit Hallan is a freelance web developer. You can follow the link below to checkout his website.

No Responses to “Installing Personal Web Server”

You must be logged in to post a comment.

Connect With Us

RSSSubscribe 0Followers 497Likes
  • Popular
  • Recent
  • Comments
  • Creating Energy Spheres in Photoshop

    Apr 15, 2008 - 96 Comments
  • Easy Screen Scraping in PHP with the Simple HTML DOM Library

    Aug 6, 2008 - 20 Comments
  • Calculating date difference more precisely in PHP

    Mar 7, 2008 - 13 Comments
  • When Does Hosting Your Website in the Cloud Make Sense?

    Oct 8, 2010 - 2 Comments
  • Fun with the Microsoft Managed Extensibility Framework Part 2

    Oct 6, 2010 - 0 Comment
  • Fun with the Microsoft Managed Extensibility Framework Part 1

    Sep 22, 2010 - 0 Comment
  • Website Management on the go with the iPad

    I appreciated your post, but I was looking for something I didn't...
    November 24, 2012 - drmoderator
  • Creating Energy Spheres in Photoshop

    I'm a little stuck down here especially at the step of creating the...
    November 23, 2012 - sarah
  • Running background processes in PHP

    Can you give an example? As see it, you can use this only when you...
    November 16, 2012 - Shaked Klein Orbach
Developer Resources
  • Tutorial Directory
  • Learn HTML
  • Learn PHP
  • Learn CSS
  • Learn AJAX
  • Learn JavaScript
  • Learn Pear
  • White Papers
  • Resources
    • NetVisits Web Directory
    • Realtor Pixels
    • Answers On The Run
    • Ask A Geek
  • Recent Posts

    • When Does Hosting Your Website in the Cloud Make Sense?
    • Fun with the Microsoft Managed Extensibility Framework Part 2
    • Fun with the Microsoft Managed Extensibility Framework Part 1
    • Website Management on the go with the iPad
    • Code Contracts in C# 4.0 – Part 1

    Calendar

    June 2013
    M T W T F S S
    « Oct    
     12
    3456789
    10111213141516
    17181920212223
    24252627282930

    Recent Comments

    • drmoderator on Website Management on the go with the iPad
    • sarah on Creating Energy Spheres in Photoshop
    • Shaked Klein Orbach on Running background processes in PHP
    • Thomas Cuvillier on How To Upload Files Using PHP
    • rizal aditya on Extracting text from Word Documents via PHP and COM
    • Home
    © 2003 - 2013 DeveloperTutorials.com. All Rights Reserved. Privacy Policy.