How are sales of food over the internet regulated?

If they are.

If someone decides to turn his prize winning barbecue sauce into a cottage industry and sells it on line does he deal with the health department the way someone doing local sales from a home kitchen would?

IANAL but AFAIK in general the same rules and regulations would apply whether the “store” is physical or virtual. Cite.