Where writes the IP in config ?

Discussion in 'Installation/Configuration' started by Brox, Jul 12, 2006.

  1. Brox

    Brox New Member


    I'd like to know, where writes the IP when I enter it in
    Management - Server - Settings - (tab) Server - IP Address:

    and how i refresh (emulation pressing "save"):
    ISP Manager - Sites - domain.tld - (tab) Basis - IP Address:

    just i have dynamic IP address and i want to refresh config automatically from shell...

    With best regards...
  2. falko

    falko Super Moderator ISPConfig Developer

  3. Brox

    Brox New Member

  4. Brox

    Brox New Member

    not so fast... :)

    I change IP in Vhosts_ispconfig.conf. But ISPConfig interface show me old IP and after a while this old IP writes in Vhost_ispconfig.conf... :(
    Where i can find old IP (in which file)?

    With best regards.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    First, never change Vhost_ispconfig.conf manually, your changes will be overwritten.

    To change the IP:

    1) Change the IP address under management > server > settings in ISPConfig.
    2) Select the correct new IP in your website settings.
  6. Brox

    Brox New Member

    I have already learned it... :)
    How it do from shell (for automatic work)?
    mysql - db_isp :
    isp_server - server_ip ?
    isp_server_ip - server_ip ?
    isp_isp_domain - domain_ip ?
  7. falko

    falko Super Moderator ISPConfig Developer

    You can change all this in the ISPConfig web interface. :confused:
  8. Brox

    Brox New Member

    If all was so simply... i have dynamic ip and i want to update dns- and vhost- configs automatic from the shell script...

    i can view new ip on the machine, then change dns-records on the dns-server with static ip, then change ip in the ISPConfig web interface...
    ...but ip may change every hour... or half-hour... or every 5 minutes :)

    ...well, the problem solved... again... :)
  9. falko

    falko Super Moderator ISPConfig Developer

    It's a very bad solution to host web sites on a system with a changing IP address because you have to rewrite the Apache configuration and possibly some other configuration whenever this happens...
  10. Brox

    Brox New Member

    I know, i haven't another opportunity... but it temporarily...

Share This Page