CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 7/20/2006 12:32:17 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 28 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
elbowsOnTable
Asp.Net User
Mapping Localhost7/20/2006 12:32:17 AM

0/0

Hi.

I have a default.aspx page in a folder called Test. I have VS setup to use IIS instead of the default server that is used when debugging. When I start debugging, here is the address that is displayed in the browser's address bar:

http://localhost/Test/Default.aspx

What I would like to do is map it to this address:

http://test

I have changed the hosts file (C:\WINDOWS\system32\drivers\etc\hosts) to include the following:
127.0.0.1 test
10.0.0.252 test

When I open a new browser and type "test" into the addres bar, the default.aspx page loads just fine. It's only when I'm debugging does the name not map correctly. Does anyone know how to correct this mapping issue?



Here are some other things which might be relevant:

The default site in IIS is set to:
C:\Inetpub\wwwroot\Test\Test


C:\Inetpub\wwwroot\Test contains the solution file and C:\Inetpub\wwwroot\Test\Test contains the actual website.

In IIS I have a virtual directory called "Test" mapped to C:\Inetpub\wwwroot\Test\Test

The solution 'Test' has a web site of type HTTP (http://localhost/test) and the solution file had an existing web site added to is using the Local IIS setting in the the Add Existing Web Site dialog box.
vcsjones
Asp.Net User
Re: Mapping Localhost7/20/2006 1:55:54 AM

0/0

I would consider posting this on the IIS forums. You might get a better response there:

http://forums.iis.net/

Those forums are linked to these, so you can use the same username and password as you do on these forums.


Cheers,
       Kevin Jones


2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Red Hat Enterprise Linux & Fedora Core 4: The Complete Reference Authors: Richard Petersen, Pages: 915, Published: 2005
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam Authors: Bryan Basham, Kathy Sierra, Bert Bates, Pages: 911, Published: 2008
Linux Administration Handbook Authors: Evi Nemeth, Garth Snyder, Trent R. Hein, Pages: 1001, Published: 2006
DNS and BIND Authors: Paul Albitz, Cricket Liu, Pages: 601, Published: 2001
Red Hat Linux 8: The Complete Reference, DVD Edition Authors: Richard Petersen, Pages: 885, Published: 2003
Ubuntu 8 Server Administration and Reference Authors: Richard Petersen, Pages: 416, Published: 2008
Fedora 9 Linux Networking and Servers Authors: Richard Petersen, Pages: 444, Published: 2008
Pro Apache Tomcat 6 Authors: Matthew Moodie, Kunal Mittal, Pages: 325, Published: 2007
JBoss at Work: A Practical Guide Authors: Tom Marrs, Scott Davis, Pages: 287, Published: 2005
Pro DNS and BIND Authors: Ron Aitchison, Pages: 571, Published: 2005

Web:
Mapping domain names to localhost - Apache - Forums at ... Mapping domain names to localhost: I am developing a site. For testing it locally, I installed Apache. I have mapped my domain name (say ...
Hibernate Mapping Types « Lijin’s Localhost Mar 28, 2007 ... In every hibernate mapping files, we used to denote the “type” of the mapping variable. This type is actually known as Hibernate mapping ...
[Red5] [Red5 Tomcat] app works on standalone server but not with a ... Apr 4, 2007 ... Server.debug ) Add mapping: localhost/tutorial => default [DEBUG] 9623 main:( org.red5.server.Server.debug ) Add mapping: 127.0.0.1/tutorial ...
Mapping the localhost/a/ - The Uniform Server BBoard Where can I find the mapping configuration for the url localhost/a/ to home\ admin\WWW please? If I want to change the localhost/a/ to something like ...
Coding Horror: Localhost HTTP debugging with Fiddler I suppose you could always try mapping localhost to an external interface in hosts, or just using an external proxy (and using the external interface IP), ...
quick tip: you can get google map api key for localhost | groups ... quick tip: you can get google map api key for localhost. public. group: Location and Mapping · [email protected] - Wed, 2006-06-14 10:25 ...
[enum-announce] Fw: NCC#2006040655 [RE: [Bulgaria ENUM Mapping]] [enum-announce] Fw: NCC#2006040655 [RE: [Bulgaria ENUM Mapping]] ... enum- request@localhost > Subject: NCC#2006040655 Bulgaria ENUM Mapping > Message-Id: ...
Querys are nor exceuting after 14 hours in localhost (Object ... ... Mapping » Querys are nor exceuting after 14 hours in localhost ... I am runing web application in localhost, I left the server runing ...
Problem runnig http://localhost - ASP.NET Forums there should be an entry mapping localhost to 127.0.0.1. RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally ...
Josh's Linux Guide - Setting Up a Nameserver The file for mapping localhost is pretty simple. Not much explanation needed. Of course, if you want to copy and paste, be sure you make the proper changes. ...

Videos:
Gosugamers Masters of the Craft Localhost v Cloud part1 Gosugamers Masters of the Craft Localhost v Cloud part1 Donate to http://www.worldvision.org/ Special Thanks again to LordWeird sc.gosugamers.net ...
Gosugamers Masters of the Craft Localhost v Cloud part2 Gosugamers Masters of the Craft Localhost v Cloud part1 Donate to http://www.worldvision.org/ Special Thanks again to LordWeird sc.gosugamers.net ...
Gosugamers Masters of the Craft Localhost v WhiteRa part2 Gosugamers Masters of the Craft Localhost v WhiteRa part1 Donate to http://www.worldvision.org/ Special Thanks again to LordWeird sc.gosugamers.net ...
~Donut MS~ Has a new pq! How to Connect: Step 1: Open up Hamachi and join the DonutMS network Network name: DonutMS1 Network pass: maple Step 2: Log in to hamachi and go to ...
Wow private server World of warcraft TBC private server. REQUIRES: World of warcraft + the burning crusade patch 2.1.3 Easy steps to set up your own server on your c...
how to make a maplestory private server hope u guys have fun making this survey hmm yeh DOWNLOAD LINKS C++: http://www.mediafire.com/?1tqmwvu2mvm LocalHost 0.53 (Download using Intern...
Surfing in Sourceforts This is a video of me surfing in the half-life 2 mod sourceforts. If you haven't played it, it's amazing, and you should ge play it RIGHT NOW. Anywa...
WotLK Private Server Guide First of all, this is not a silly sandbox sever. It is actually the beta with spawned mobs. Here are URL's to what you need: http://www.worldofwarc...




Search This Site:










asp.net page model with code behind and server side script different to version 1.1

code snippets in c#

how can i connect to database snapshot with vb.net

missing xml editor

vs 2005 with vss 6.0a

embedded svg graphic breaks after vs2005 install

remote web site/class library solution - build error - permissions

clean solution deletes files / project references out of sync.

visual studio 2005 error 402.1

change .net 2.0 project away from 1 compiled dll?

removing a file from a web project takes a long time!

any solution in vs 2005 comment a block of code in vb?

timeout expired. error.

how many lines of code?

deploy web application in vs 2005

error debugging project (kb 810886)

doubt - > related to asp.net web application

visual studio 2005 - web setup project creation failed - problem

please help urgent!!

vs2005 designer and trident package

tableadapter configuration wizard error.

business objects continue to showup in vs2005 on the objectdatasource dropdownlist

how to avoid the debugging error?

using subreports in .net 2005

new version of .net

html-components in toolbox

where is complied .dll file in asp.net 2.0

changing from the default sql server to an access database?

can't run any local web sites created in vs 2005 1.0.50727 after turning site "offline" in administer website

suggestion: ability to print from the class view pane

  Privacy | Contact Us
All Times Are GMT