A license only allows one installation but multiple domains pointing to that installation is fine.
Can multiple domains or subdomains be used with a single license?
Yes, as long as the domains or subdomains all resolve to the same installation, all of the content is available at every domain or subdomain, and there is no attempt to make them appear as separate installation