It feels like most of the time people sell a product on its own domain (e.g. https://www.compilerbook.com). I'm curious though, does it need to have it's own domain?
Is it a bad idea to sell from my own domain and make the product landing page something like this i.e. https://mywebsite.com/book/the-amazing-book ?
Or even https://the-amazing-book.mywebsite.com as a subdomain?
What are your thoughts on this?