473,322 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Run localhost but not under machine name

Hello I have a project in .NET, when I open the internet explorer and write
"localhost/projectname/default.aspx" it will open my page and do everything.
But if I try to run using "mymachine/projectname/default.aspx" it won't
open, I get Page not found message. I need it to work because I need to run
the application from a different machine pointing to my project. I can do it
with some .Net projects in other machines but not with mine. Am I missing
something? What can I do?

When I make "ping mymachine" from other machines in the network I do have
answer, it recognizes the machine name.

Thanks
Jennyfer
Nov 19 '05 #1
2 1896
Jennyfer:

The change you need to make is in IIS under the "Default Web Site." Right
click and select Properties. Select the Web Site tab, and under the Web
Site Identification section click the Advanced button. In the "Multiple
Identities for this Web Site" add an entry using your machine name as the
Host Header Value.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.
"Jennyfer J Barco" <pd*****@nospam.wdsinc.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
Hello I have a project in .NET, when I open the internet explorer and write "localhost/projectname/default.aspx" it will open my page and do everything. But if I try to run using "mymachine/projectname/default.aspx" it won't
open, I get Page not found message. I need it to work because I need to run the application from a different machine pointing to my project. I can do it with some .Net projects in other machines but not with mine. Am I missing
something? What can I do?

When I make "ping mymachine" from other machines in the network I do have
answer, it recognizes the machine name.

Thanks
Jennyfer

Nov 19 '05 #2
Thanks but it didn't work
"David Lloyd" <in**@LemingtonConsulting.com> wrote in message
news:ZT**************@bignews5.bellsouth.net...
Jennyfer:

The change you need to make is in IIS under the "Default Web Site." Right
click and select Properties. Select the Web Site tab, and under the Web
Site Identification section click the Advanced button. In the "Multiple
Identities for this Web Site" add an entry using your machine name as the
Host Header Value.

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties. "Jennyfer J Barco" <pd*****@nospam.wdsinc.com> wrote in message
news:u4**************@TK2MSFTNGP09.phx.gbl...
Hello I have a project in .NET, when I open the internet explorer and write
"localhost/projectname/default.aspx" it will open my page and do

everything.
But if I try to run using "mymachine/projectname/default.aspx" it won't
open, I get Page not found message. I need it to work because I need to

run
the application from a different machine pointing to my project. I can do it
with some .Net projects in other machines but not with mine. Am I

missing something? What can I do?

When I make "ping mymachine" from other machines in the network I do have answer, it recognizes the machine name.

Thanks
Jennyfer


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dale | last post by:
I'm (trying) to help a friend setup a MySQL db and use some simple scripts on a site hosted with GoDaddy. I note that GoDaddy appears to use Microsoft. I have done this: $connection =...
7
by: Christoph Lutz | last post by:
Hi, I have got a scenario where an asp script needs to request via xmlhttp a file sitting on the same server. The code all works find on my local machine. However, on the hosting server, it does...
5
by: Chris | last post by:
What is going on here... I have my site running locally on my machine, and when I don't have an internet connection (like when Im on the train) I get this error when I try to open an asp.net...
1
by: L Scott | last post by:
I am wanting to get the machine name that is running IIS. I have code in the 'Application_BeginRequest' event of the Global.asax and even if I access the web site from another machine I am always...
4
by: Greg Cyrus | last post by:
Hi, in a Page_Load I use: Response.Redirect("http://localhost/WebApplication3/frmDefault.aspx") Now the IExplorer shows "http://localhost/WebApplication3/frmKopf.aspx" in the adress-field....
1
by: Tim | last post by:
I have an asp.net application that generates dynamic images (charts). When I run the application in debug mode from visual studio, or refer to the url with localhost in the name, everything works...
1
by: MW de Jager | last post by:
Hi I'm trying to connect to a database on my machine from an ASP.NET appliaction. The connection string currently contains my machines name on the LAN in stead of "localhost". If I change the...
3
by: Robin Tucker | last post by:
Should I consider this to work in other locales? If theServer.Name <> "(local)" and theServer.Name <> "(localhost)" Then ' Can only use local machine in this version..... End If
3
by: maciek kanski | last post by:
Hello I have running WCF service (config below) hosting in just console application - because I've used InstanceContextMode.Single and ConcurrencyMode.Multiple and no Throttling I expect that 10...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.