I have two domains running on the same server with the same IP (different content).
I have read that it is ok to provide only one sitemap containing information for both domains, so this is what the sitemap looks like (extract):
<url> <loc>http://www.domain1.tld/page1/</loc> <changefreq>weekly</changefreq> <priority>0.7</priority> </url> <url> <loc>http://www.domain2.tld/page1/</loc> <changefreq>weekly</changefreq> <priority>0.7</priority> </url>
Now when I submit the sitemap in Google Webmaster Tools I get the following error message:
This url is not allowed for a Sitemap at this location.
which is caused by the second domain being in the sitemap.
I have read that it is possible to also provide Google, etc. with different sitemaps for each domain.
Would that be solution or can I ignore the error? What would be the best solution