back to

Move phplists to another domain, what must i take care of


I want to move phplists installs to another domain, what is the best way to do that?
I have full access to the os (linux with apache/nginx).

Copy the webspace, copy the DB, edit the config.php?
What about the links inside the DB?

Is there an “easy” way?


HI @Janvl,
You would want to zip up your ‘lists’ directory, move it, and then unzip in it’s new home.
If you can access your database from the new location, no moving of the database is needed. If you can’t access it, you would want to do a backup of your database, and move it to the new location. Then restore your database, create the phpList database user and password, give it permissions on the database.

Go to the ‘settings’ page on the web admin interface, and change the domain values towards the top of the page, and also verify that all the references to the old domain are changed to the new domain (unsubscribe page, etc… further down the page).

Then you can send yourself a new test email or test campaign, and verify that you did not miss anything.


Thank you Dan,

I often move webapps, copy webspace and databases.
Just never had to do thhis for phplists.

Since there are links to the domain in the database, I wondered if this is not going to give trouble.
One install is just a test and was still empty, so that one will be a new install, is easier.

The other one will move to another (Sub-)Domainname.


Moving phpList to a new domain will ‘break’ any existing click track links.
I usually leave the old one in place, and ‘copy’ the system to a new location. Going to the setting page and editing things like the domain name, forward page url, etc. will change the database settings for future campaigns.

Thanks Dan,

the install concerned is mine, I just use it to quickly send mail to groups of 20 to 80 people no clicktracking etc. just to keep a routine in using phplists.
Every now and then i have a customer using it for a while because it is way better then any cms-module.