To move Piwik to a new domain or subdomain,

  • move all your Piwik files to the new directory, on your new domain or subdomain.
  • open the new Piwik URL in your browser, and check that Piwik works as expected
  • since the Piwik domain name has changed, you also need to change the Piwik javascript tags on all your tracked pages. For example, if Piwik was installed in piwik.example.org and is now installed in piwik.example-different.com or example.org/piwik, you need to update the tags on all your websites’ pages.
  • If you use the auto archiving cron, you might have to update or setup the script path in your cron file

If you want to reinstall Piwik please see How can I reinstall Piwik? Can I keep the existing data?