After you register an account successfully with HostGator.com or any other web hosting companies, you will get an email from them including everything about your account. So you have to keep that email securely.

If you buy from Host Gator, your NameServers are probably as below:

NS1: ns2617.hostgator.com
NS2: ns2618.hostgator.com

And if you registered your domain from Godaddy.com, you should change the NamServers to the above addresses, see the screenshot for demonstration:

how to set nameservers - make money online

It seems difficult for newbies, but it’s so easy to do once you have done one or two times.