Some hosting providers offer free subdomains as part of their services. For instance, if you buy a yearly web hosting plan from Hostinger, you will get one primary domain name and 100 subdomains free of charge for the first year.