You gain hero domains when you learn all weapons and master weapon damage. Also, when your hero learns all the skills in the game to kill demons.