Moving server

Discussion in 'Installation/Configuration' started by PerudoIS, Dec 28, 2006.

  1. PerudoIS

    PerudoIS New Member

    Tonight i'm going to move my servers to another datacentre. Now I have to change all IP addresses of all my DNS records and websites.

    I've searched but couldn't find a manual or Thread which describes the stept I have to follow. Can anybody give me these steps ?
  2. edge

    edge Active Member Moderator

  3. PerudoIS

    PerudoIS New Member

    Thanx a lot, but I host over 300 hunderd sites on this server and I don't look forward to change all these site by hand.

    Is is possible to change ip addresses in de database and generate all the pri.* files and the Vhosts_ispconfig.conf again ?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You can change it automatically by changing the IP address in the database tables isp_isp_web, isp_isp_web, isp_isp_domain, dns_isp_dns and dns_a, then set the field status = 'u' in the tables isp_isp_web and dns_isp_dns for all records that you changed. When you edit and save now one record in the interface, all records will be changed where status = 'u'.

    But dont forget to make a backup of the database, in case anything goes wrong :)

Share This Page