You would need to purchase a custom domain at a domain provider. Once you have done that, you need to point your nameservers to us, which is those nameservers you mention.
As you mention you are using domain.com , these look to be the instructions on how to do it on that particular provider.
https://www.domain.com/help/article/domain-management-how-to-update-nameservers