back to

I can't figure out how to migrate to a new server

Hello! I’m trying to migrate my phplist to a new server. I’ve done some searching and came up empty handed. On here I only find mention of people who have migrated but not how they have done it… on google I found mentions to how to migrate, but the links to the articles were broken. I can’t seem to find any instructions in the user guide either. I’m installing via Softaculous. I"m moving from a server using cpanel to one using directadmin. If anyone can offer some guidance or help that would be amazing! Thanks so much! =)

What you need to do is backup your database on your existing system, and zip up the ‘lists’ directory (with all of the subdirectories). You would probably want to grab a copy of the config.php file (lists/config/config.php) in order to reference your settings. Download these 3 things to your computer, this is your backup.
What you might want to do is install a new, updated copy of phpList on your new location, restore the phpList database, and then update the config.php on the new system to link to your restored database.
Then you would need to setup your emails (bounce mailbox) and smtp connections on the new system. If you have a new domain, you’ll need to update the settings on the settings on the admin web page “config”,“settings”

1 Like

So if I install a fresh copy of phplist… then I wouldn’t need to zip up the “lists” directory correct? I believe I renamed my lists directory to “newsletter” does that sound right? What folders should be directly inside the “lists” directory so that I know I’m zipping up the right one?

Also, where in phplist do I go about restoring the database? I’m completely moving the domain name as well… so everything should be the same domain / file structure. Also, thank you TONS for all your help!