Localhost issue

Discussion in 'ASP .Net' started by Big E, Aug 5, 2004.

  1. Big E

    Big E Guest

    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
    Big E, Aug 5, 2004
    #1
    1. Advertising

  2. Big E

    Curt_C [MVP] Guest

    you mean for the DB connection? or what specifically?


    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    Site: http://www.Darkfalz.com
    Blog: http://blog.Darkfalz.com


    "Big E" <> wrote in message
    news:...
    > 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
    >
    >
    >
    Curt_C [MVP], Aug 5, 2004
    #2
    1. Advertising

  3. Big E

    Raterus Guest

    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

    "Big E" <> wrote in message news:...
    > 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
    >
    >
    >
    Raterus, Aug 5, 2004
    #3
  4. Big E

    Big E Guest

    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.


    "Big E" <> wrote in message
    news:...
    > 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
    >
    >
    >
    Big E, Aug 5, 2004
    #4
  5. 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.

    "Big E" <> wrote in message
    news:...
    > 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
    >
    >
    >
    Kevin Spencer, Aug 5, 2004
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jiong Feng
    Replies:
    0
    Views:
    796
    Jiong Feng
    Nov 19, 2003
  2. Alex
    Replies:
    4
    Views:
    553
    Hasani Blackwell
    Feb 8, 2005
  3. =?Utf-8?B?S2VuTGVl?=
    Replies:
    5
    Views:
    2,686
  4. EdwardH

    Localhost isn't localhost

    EdwardH, Sep 29, 2005, in forum: Java
    Replies:
    20
    Views:
    6,353
    Roedy Green
    Oct 1, 2005
  5. koicat
    Replies:
    0
    Views:
    212
    koicat
    Jul 2, 2010
Loading...

Share This Page