PC Review


Reply
Thread Tools Rate Thread

Development server - root host name problem

 
 
=?Utf-8?B?U3VzaGlTZWFu?=
Guest
Posts: n/a
 
      7th Feb 2007
Hello. I have problem with root host name. When I create some new site
(for example, testsite1) and run this I will get URL like this

http://localhost:1954/testsite1/somepage.aspx

How I can remove this "testsite1" in URL? I need have

http://localhost:1954/somepage.aspx

This prefix doesn't have any sense becuase next site which I will run will
have other
work port, (http://localhost:1955/testsite1) So why it exist at all?
 
Reply With Quote
 
 
 
 
Bruno Alexandre
Guest
Posts: n/a
 
      7th Feb 2007
because you are using the VS includes WebServer and not IIS, and that will
create programatically a new Virtual Directory
with the name of your project, the port is given randomly so will not cause
any problem in an existing WebServer inviroment

to avoid this you need to use IIS itself and configure the default Web Root
to point to your directory!

--

Bruno Alexandre
Strøby, Danmark

"a Portuguese in Denmark"


"SushiSean" <(E-Mail Removed)> wrote in message
news:04AE4A61-4524-4FCE-A161-(E-Mail Removed)...
> Hello. I have problem with root host name. When I create some new site
> (for example, testsite1) and run this I will get URL like this
>
> http://localhost:1954/testsite1/somepage.aspx
>
> How I can remove this "testsite1" in URL? I need have
>
> http://localhost:1954/somepage.aspx
>
> This prefix doesn't have any sense becuase next site which I will run will
> have other
> work port, (http://localhost:1955/testsite1) So why it exist at all?


 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      7th Feb 2007
If you have installed Visual Studio 2005 SP1, it's real easy.

See this blog entry by Scott Guthrie:
http://weblogs.asp.net/scottgu/archi...-2005-sp1.aspx

If you haven't installed SP1, it's a bit more complicated, but still easy.

See *this* blog entry by Scott:
http://weblogs.asp.net/scottgu/archi...21/431138.aspx



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"SushiSean" <(E-Mail Removed)> wrote in message
news:04AE4A61-4524-4FCE-A161-(E-Mail Removed)...
> Hello. I have problem with root host name. When I create some new site
> (for example, testsite1) and run this I will get URL like this
>
> http://localhost:1954/testsite1/somepage.aspx
>
> How I can remove this "testsite1" in URL? I need have
>
> http://localhost:1954/somepage.aspx
>
> This prefix doesn't have any sense becuase next site which I will run will
> have other
> work port, (http://localhost:1955/testsite1) So why it exist at all?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Host multiple sites in single ASP.NET Development Server Don Microsoft ASP .NET 0 30th Sep 2008 09:29 PM
How can I run the "Development server" w/o a virtual path? (root) cmay Microsoft ASP .NET 2 12th Apr 2006 08:53 PM
Asp.Net 2.0 development Server root site John Lau Microsoft ASP .NET 2 2nd Dec 2005 01:18 AM
dns root server and forwarder on the same host ? BJ Microsoft Windows 2000 DNS 4 15th Sep 2003 02:13 PM
Root server problem Rich Microsoft Windows 2000 DNS 3 25th Jul 2003 01:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:08 AM.