Hi! 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...
Is this what you're looking for? http://www.howtoforge.com/forums/sh...ighlight=$go_info["server"]["network_config"]
First question - yes. But when network_config=0 where Panel saves IP ? Second question - i find it in /etc/apache2/vhosts/Vhosts_ispconfig.conf Well... i solved the problem, but then i change IP in Vhosts_ispconfig.conf, web-admin show me old IP... Thanks!
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.
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.
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 ?
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...
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...