name server vs redirect

This is not specifically a WordPress question but wasn’t sure where to post:

I have bought a domain on one website but am hosting on another. Is it better to configure a redirect or better to change to NS on the domain name home website to point to the hosting url? Or are these two unrelated functions? I am confused as to what gets what (the url name website vs the hosting website). I hope this makes sense. Thanks again everyone!


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer