Problems after changing IP...

Discussion in 'Installation/Configuration' started by netphreak, Dec 31, 2006.

  1. netphreak

    netphreak New Member

    Sorry to bother you again, but I don't seem to figure out my problem after changing IP after all... :(

    After installing debian +ispconfig (perfect setup guide), I decided to change my IP address. It's configured with a static public IP.

    Everything seems to work alright, except for a few things:

    Whenever I try to access or, I seem to be redirected to my original IP! This is after I say yes to the certificate.

    Also, when looking at my monitor at boot, I am asked to type my certificate password used for encryption. Right abow that, it says that my webserver is running at my original IP!!!

    I have changed:


    And of course in ISPConfig Management -> Server -> Settings.

    What else is there?

    It's driving me mad!
    Last edited: Dec 31, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please recreate the SSL certificate and do not choose to encrypt it as described here: 8182

    To your IP problem:

    Does your old IP address show up, when you execute the command:


    Is your old IP address listed in the file /root/ispconfig/httpd/conf/httpd.conf ?
  3. netphreak

    netphreak New Member

    Thanks for your reply.

    The output from ifconfig were correct, with the new IP. The old IP were not present in /root/ispconfig/httpd/conf/httpd.conf either.

    I spent so many hours on this last night that I finally gave up. I attacked the problem from another angle, and changed the IP back to the original one. After all, I would have saved quite some time doing the work on the other end instead.

    Now I've learned that changing IP in this setup is a major work if you don't know all the files to manually edit. I tried to find a way to search for a text string (my ip address in this case of course) inside files in the whole linux filesystem, but I couldn't find any. This is possible in Windows, so I guess there should be a way in Linux as well?

    Anyhow, thanks for the link to that thread about SSL certificates.
  4. falko

    falko Super Moderator ISPConfig Developer

    You can do it like this:
    cd /
    grep -R "" *
    where is your IP address.

Share This Page