I have two domains pointing to the same hosting account. My code in the index.php page recognizes which domain and shows different content for each domain. However, both domains have the same sitemap.xml
because there is only one sitemap in the public_html
directory.
Is it possible to have two distinct sitemaps for the two domains?