When it comes to URL SEO discussion, the subdomain is the component of the domain that comes before the main ‘root’ domain. You can come up with multiple subdomains, but they are generally different websites, so you are not required to have lots of subdomains when you actually need them. They are developed to organize content for your website. The domain name is basically the unique address where a website is located.
Read More: https://seoindiaonline.com/seo-url-best-practices/