Localhost issue

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
 
R

Raterus

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
 
B

Big E

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.
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top