No. A domain is considered the same as only buying the land that you would build on. While the website itself would be considered the building, the different rooms, the interior design, etc. A domain name can be bought to reserve an address name that can be used to construct a website in the future. Buying a website would include every page under that domain name. Everything that the user can click on is also considered buying the webpage. Some examples of websites that sell domains are GoDaddy.com, HostGator.com, and Cloudflare.com.