I’m using MODX for multi domain. So one CMS serving multiple domains.
For all websites, I want to have a sitemap.xml but when I use the GoogleSiteMap plugin, I see the same sitemap on the second domain.
Step to reproduce
Install multi domain on your MODX install.
Install GoogleSiteMap plugin
Add a page calles sidemap, use a empty page, make it xml
In the content field add [[!GoogleSiteMap]]
If you don’t necessarily want to use the extra and don’t have too frequently sites added, you could also use an online sitemap generator like this one.