How to migrate a site to another server

Discussion in 'Installation/Configuration' started by searchpro, Aug 24, 2011.

  1. searchpro

    searchpro New Member

    Hello,

    I have ISPConfig 3 with multi-server configuration, I have 3 webservers. How can I move a site from one server to another?

    Regards,
    Alex
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no such function available yet to do this automatically. Basically you will have to make a backup of the website content (and database, if it shall be moved as well), delete the website and then recreate it on the other server and then restore the website content from the backup.
     
  3. searchpro

    searchpro New Member

    Thank you Till,

    Two other questions:
    1. What should I do if I want to move the DNS service from one server to another?
    2. Can I have both primary and slave DNS servers on same physical server with 2 IPs? How should I configure ISPConfig in this case?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    1) I havent tested this procedure, but I guess it should work:

    Change the server_id in the dns_* tables with phpmyadmin to the id of the new server. then use the dns resync tool to create the records on the new server:

    http://www.howtoforge.com/forums/showpost.php?p=248916&postcount=2

    2) There is no additional configuration required.
     

Share This Page