Under Settings -> General Settings -> Trusted Piwik Hostname there is only one field for the trusted hostname and a 'Save' button.
After some googling I discovered that I can edit config.ini.php and add an additional trusted_hosts[] = "www.example.com" line. After I did this, the dashboard displayed both domains, each on a separate line, and an 'Add' button in addition to the 'Save' button. Seems like the 'Add' button should be displayed always.
Under Settings -> General Settings -> Trusted Piwik Hostname there is only one field for the trusted hostname and a 'Save' button.
After some googling I discovered that I can edit
config.ini.phpand add an additionaltrusted_hosts[] = "www.example.com"line. After I did this, the dashboard displayed both domains, each on a separate line, and an 'Add' button in addition to the 'Save' button. Seems like the 'Add' button should be displayed always.