Localhost issue

  • Thread starter Thread starter Big E
  • Start date Start date
B

Big E

I've been develping a ASP.Net project. I'm ready to put it on the live
server. I have changed localhost to a IP Address in the webconfig. When on
the live server it still wants to go to localhost. How do I change it to the
live server. Also how do I keep developing on my local computer and update
the web server.

Thanks.

Big E
 
what did you put in web.config that would configure what server the application resides on? ..and why? When you develop web applications you really should think in "non-server specific" terms. The key to this is to use relative pathing in just about everything. If you ever have to type the web servername when developing the application, catch yourself and think "bad!"

--Michael
 
What I mean is when I take the code from my machine and put that code on the
server in the other room it comes back to my machine. The other computer has
a IP address. When browsing that IP address it should show the web
application from that server not my local machine.
 
Apparently, there are other references to LocalHost in your app than exist
in the web.config. I would look for them.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top