To move Piwik to a new domain or subdomain,
- move all your Piwik files to the new directory, on your new domain or subdomain.
- in your
[General]section, add a line with your new host:
trusted_hosts = "example-stats.net"
- open the new Piwik URL in your browser, and check that Piwik works as expected.
- If you use the auto archiving cron, you may have to update or setup the script path in your crontab file
If you want to reinstall Piwik please see How can I reinstall Piwik? Can I keep the existing data?