I have generated a XML sitemap for multi-site using a free online tool - https://www.xml-sitemaps.com. I have downloaded XML file for each site and placed sitemap.xml at the root (\src\sitemap.xml) for main site and for sub-sites placed at \src\sites\sub-site-name\sitemap.xml.
When I access the main site at www.main-site.com/sitemap.xml, I get the correct sitemap.xml but for sub-sites (www.sub-site.com/sitemap.xml), I am getting the sitemap of the main site every time. How can I access the sitemap.xml file for sub-sites at www.sub-site.com/sitemap.xml. I can access the sitemap.xml for sub-sites if I go to the path: www.sub-site.com/sites/sub-site.com/sitemap.xml.