Restrict New Accounts to a Specific Domain

Hi,
Is there an easy way to restrict new accounts from being made unless they are part of a specific domain? For example, I only want people to be able to set up an account if their email account is [something]@domain.com.

Thanks!