• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 141
  • Last Modified:

Hosting asp.net pages on windows xp

Can i host asp pages on a micrsoft windows xp web server for use by the local computer?
1 Solution
Yes. If you have .net installed (which I imagine you do). It's not hard but would take me a long time to type out the steps so....


Simply put though I'll try.
1)Put your site in a folder somewhere on your server (ie. d:\_websites).
2)Open IIS. Expand the WebSites folder down to Default Web Site.
3) Right click on Default Web Site and choose New>VirtualDirectory
4) In the wizard provide an alias. This can be anything. You will use it when calling your website locally(i.e. http://localhost/youralias/default.aspx
5)Browse to the path of the folder where you put your website.
6)You shouldnt have to change any other settings in the wizard.

Now in IIS, under Default Web Site you will see your virtual directory. You can right click and choose properties to modify it if you like, but right out of the box it should work.

Go ahead and do that (properties). ON the first tab (Virtual Directory) there is a box called Application Name. If this is greyed out then press the Create button next to it.

Then go to the ASP.NET tab and make sure you have version 2.xxx listed in the box there (if not you need to install .net and begin again).

On the Documents tab you can choose which type of page you want to come up as your default when going to your root directory (http://localhost/website). So if your home page is called Default.aspx then add that to the list and use the arrows to put it at the top.

Hope this helps

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now