What Are the Domain Naming Restrictions?

Domain names have strict naming conventions.

Domain names cannot contain spaces and can only contain the special characters "_", "-", and ".".

Good:
domainname
domain.name
d0ma1n_nAmE-.

Bad:
Domain Name
Domain:Name
,./;'#p[]