Results 1 to 4 of 4

Thread: localhost pointing to old external ip

  1. #1
    Join Date
    Mar 2007
    Beans
    16

    Angry localhost pointing to old external ip

    hmm, hi guys,
    I have an "lamp server" setup manily to be able to access my mp3s from inside and outside the home network. when i fiddled with this (4-5months ago) i remember that somewhere i had to go and set my external ip adress manually.
    The problem now is, my router broke and since i dont have a static ip i got a new external one as soon as i plugged in my new router.

    My problem now is that when i use "192.168.1.3" adress inside network or localhost/127.0.0.1 on the server computer it still is searching for my old ip adress... anyone know where i should look?

    places ive been.

    /var/www/*.conf
    /etc/host.conf
    /etc/apache2/*.conf
    /etc/apache2/sites-enabled/

    and by *.conf i mean ive been look at each conf file to see if i can change anything.

    oh, and when i set my router to "static ip" and type in my old adress everything works just fine. but not internet ofc since i can get that ip from my isp.

  2. #2
    Join Date
    Aug 2008
    Beans
    188
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: localhost pointing to old external ip

    How about this file: /etc/hosts

  3. #3
    Join Date
    Mar 2007
    Beans
    16

    Re: localhost pointing to old external ip

    Quote Originally Posted by Too Late View Post
    How about this file: /etc/hosts
    nope no ip adress there either,

    all i get is 127.0.0.1 pointing to localhost and 127.0.1.1 pointing to my user

  4. #4
    Join Date
    Mar 2007
    Beans
    16

    Re: localhost pointing to old external ip

    fixed now, its was just some silly settings in wp

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •