register user only with specific Host name

I think the User Domain Whitelist plugin is exactly what you want:

The User Domain Whitelist/Blacklist plugin limits user registration to
only registrants with an email address from the domain white list
below OR prevents registrants with an email address from the domain
black list below from registering.