Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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):


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

share|improve this question
up vote 2 down vote accepted

Here is Google's documentation on multiple sitemaps

The most likely cause of your error is that you have not verified each of the sites using webmaster tools. I would suggest that you:

If you have done that and still get the error then you would have to split it into two sitemaps.

share|improve this answer
I had both websites in the Webmaster Tools. The second one I put as http://domain2.tld instead of http://www.domain2.tld After adding the www version no more errors are shown. Thanks! – horen Jun 7 '13 at 10:11
Its often good to put in both the version with and without the www into webmaster tools, it can show you different errors. – Stephen Ostermiller Jun 7 '13 at 10:24

Sites are not indexed per IP address because there can be many websites on a single server and IP.

I would not ignore errors in Webmaster Tools, and would suggest submitting separate sitemaps for each site you want indexed. There is no benefit trying to combine them if the content and domains are different.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.