Launching ASPX pages through localhost

J

jp2msft

I have some ASPX pages that I would like to display by browsing to
http://localhost/, but whenever I do, all I get is MS's 404 "Webpage cannot
be found" page.

I have IIS configured so that it uses "C:\Inetpub\wwwroot" as the Local Path
under the Home Directory, and I have tried using different default webpages
(index.htm, Default.aspx, index.asp) but nothing works.

Where can I find how to get IIS running on my local machine so that I can
view my websites?

ASP.NET 2.0.50727
 
C

clintonG

What operating system are you using? By default IIS installs and configures
itself at the path you indicated so --you-- do not need to "configure IIS in
that context. Finally, go to your My Computer, open it and and tell me what
the computer name is.
 
C

Cowboy \(Gregory A. Beamer\)

If you are getting 404, IIS is running.

The default page for IIS on XP is localstart.asp:
http://localhost/localstart.asp

As for your own pages, just set one down there and then make sure IIS is
configured to use that page as your new default. I tend to stick with
default.aspx, as it is fairly standard, as far as usage.

Does this help?

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
J

jp2msft

Well, I *think* IIS is "configured to use that page as my new default", but
it still pulls up Microsoft's Page Not Found when I type it into the address
bar in IE7.

How do I make sure IIS is configured the right way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top