Domain Name Vs Website
As you can see from above your website and your domain and intricately tied.
Domain name vs website. Your domain name points to your web server where all of your files are hosted and those files are generated when a user types in your domain name to display your website. A webpage is a single page on the web whereas a website is the complete set of webpages available under one domain name. If you wish to host a website you will first need to create one.
While the tools for building your website vary whatever you build needs to be pointed to your domain so the links between them can connect. You need both along with a web host for anything to be available to your visitors.