Home All Groups Group Topic Archive Search About

change from "//localhost:numbers/" to just "//localhost/"?

Author
10 Feb 2006 4:36 PM
KenLee
help:
how can I change from "//localhost:numbers/" to just "//localhost/"?
I can see the web pages using "//localhost:numbers/"  instead of
""//localhost/".
I use asp.net 2.o. and windows 2000.
how can i set up  from "//localhost:numbers/" to just "//localhost/" so that
other people could see the page not the error message.
.....

Author
10 Feb 2006 5:06 PM
Edwin Knoppert
Install IIS and copy the app in a folder etc.. etc..


Show quoteHide quote
"KenLee" <Ken***@discussions.microsoft.com> schreef in bericht
news:47A11B4B-DA91-4830-82D5-1CB9D9F0D326@microsoft.com...
> help:
> how can I change from "//localhost:numbers/" to just "//localhost/"?
> I can see the web pages using "//localhost:numbers/"  instead of
> ""//localhost/".
> I use asp.net 2.o. and windows 2000.
> how can i set up  from "//localhost:numbers/" to just "//localhost/" so
> that
> other people could see the page not the error message.
> ....
>
>
Are all your drivers up to date? click for free checkup

Author
10 Feb 2006 5:08 PM
Bruce Barker
use iis.

-- bruce (sqlwork.com)


Show quoteHide quote
"KenLee" <Ken***@discussions.microsoft.com> wrote in message
news:47A11B4B-DA91-4830-82D5-1CB9D9F0D326@microsoft.com...
> help:
> how can I change from "//localhost:numbers/" to just "//localhost/"?
> I can see the web pages using "//localhost:numbers/"  instead of
> ""//localhost/".
> I use asp.net 2.o. and windows 2000.
> how can i set up  from "//localhost:numbers/" to just "//localhost/" so
> that
> other people could see the page not the error message.
> ....
>
>
Author
11 Feb 2006 2:44 AM
Sonu Kapoor [MVP]
I am assuming that you are using Visual Studio 2005

1) Right click on the solution
2) Select menu "Property Pages"
3) Go to Start options in the new window
4) Select "Use Custom Server"
5) Enter the BaseURL for the project (i.e: http://localhost/myproject/)

Sonu Kapoor [MVP]
---
Posted via www.DotNetSlackers.com
Author
11 Feb 2006 3:19 AM
Ken Cox - Microsoft MVP
If you are using localhost, people outside your computer can't reach it.

Show quoteHide quote
"KenLee" <Ken***@discussions.microsoft.com> wrote in message
news:47A11B4B-DA91-4830-82D5-1CB9D9F0D326@microsoft.com...
> help:
> how can I change from "//localhost:numbers/" to just "//localhost/"?
> I can see the web pages using "//localhost:numbers/"  instead of
> ""//localhost/".
> I use asp.net 2.o. and windows 2000.
> how can i set up  from "//localhost:numbers/" to just "//localhost/" so
> that
> other people could see the page not the error message.
> ....
>
>
Author
12 Feb 2006 5:14 AM
sloan
The "numbers" thing is a non IIS web hosting component.

To get rid of them , you need to put the files in a "Virtual
Directory".

The easiest way to do this is

make a directory called

c:\inetpub\wwwroot\MyNewDirectory\

inside the program IIS, you can also create a virtual directory and put
it anywhere
c:\myfirstVdirectory

I usually keep stuff in wwwroot, for simplicity.

One last note, you may have to "Create Application" for your directory
(MyNewDirectory).
Open IIS, and right click MyNewDirectory, click properties, and there
is "Create" near an "Application" ... somewhere on the first page.

That should get you started.

Don't forget to use ~/MyFolder/myfile.aspx
That should decrease the need to MUST use IIS.

...


KenLee wrote:
Show quoteHide quote
> help:
> how can I change from "//localhost:numbers/" to just "//localhost/"?
> I can see the web pages using "//localhost:numbers/"  instead of
> ""//localhost/".
> I use asp.net 2.o. and windows 2000.
> how can i set up  from "//localhost:numbers/" to just "//localhost/" so that
> other people could see the page not the error message.
> ....

Bookmark and Share