Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

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 (same content).

For example: the sitemap of example1.com represents one website and method1.com, method2.com represent many pages will come. So can I use only one sitemap for both or make different sitemaps?

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

If I'm working on the second URL it's affecting the homepage also.

Whether I need to create 2nd URL for sitemap or homepage url?

share|improve this question
Why do you want to create a sitemap? If Google are indexing the two websites then a sitemap isn't needed. – zigojacko Feb 10 '14 at 10:40
@GeoffJackson-zigojacko: A submitted sitemap can help with reporting. You can easily see how many URLs from the sitemap have been indexed, and consequently if you submit multiple sitemaps for different parts of the site, you can easily see if these sections have been indexed. – w3dk Feb 10 '14 at 14:16

If you have two verified sites (verified in Webmaster Tools) means you can have a single sitemap.

If you have multiple websites, you can simplify the process of creating and submitting Sitemaps by creating one or more Sitemaps that includes URLs for all your verified sites, and saving the Sitemap(s) to a single location. All sites must be verified in Webmaster Tools. You can choose to use:

Source: Simplify multiple sitemap management

share|improve this answer
Note that the ability to have a single sitemap for multiple domains is Google-only AFAIK. This is not part of the Sitemap protocol. – w3dk Feb 10 '14 at 14:26

You will need to make different sitemaps as you cannot have URLs from different domains within.

share|improve this answer
Do you have any reference for this? – Andrew Lott Feb 10 '14 at 11:27
ok but home page url is in frameset and redirecting to another url has many pages and homepage has 1 url – user35767 Feb 10 '14 at 11:43
<url> <loc>example1.com</loc>; <changefreq>weekly</changefreq> <priority>0.7</priority> </url> <url> <loc>method1.com</loc>; <changefreq>weekly</changefreq> <priority>0.7</priority> </url> <url> <loc>method2.com</loc>; <changefreq>weekly</changefreq> <priority>0.7</priority> </url> – user35767 Feb 10 '14 at 11:50
example.com is home page method1.com is another – user35767 Feb 10 '14 at 11:51
Sitemap protocol : sitemaps.org/protocol.html – user29671 Feb 10 '14 at 12:44

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.