i have created sub-domain for one of my site. whether i need to create separate sitemap.xml, or i can include these sub-domain(url) into the main domain. or i can do both.

A better way to implement an xml sitemap would be to have a controller that checks the age of the files that make up the pages of your site, and output the XML.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.