Book publishing question

If I wrote a book on training dogs, and sell it through my own dog-related website, am I required to publish it first? I know if I want to sell it at retail outlets like book stores and such, then I must publish it by a publishing co. But what if it's only sold thru my own website?

cool! thanks for the link.

is it also true for hard copies too?