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.