For a finite, positive Borel measure
μ
\mu
on
(
0
,
1
)
(0,1)
we consider an infinite matrix
Γ
μ
\Gamma _\mu
, related to the classical Hausdorff matrix defined by the same measure
μ
\mu
, in the same algebraic way that the Hilbert matrix is related to the Cesáro matrix. When
μ
\mu
is the Lebesgue measure,
Γ
μ
\Gamma _\mu
reduces to the classical Hilbert matrix. We prove that the matrices
Γ
μ
\Gamma _\mu
are not Hankel, unless
μ
\mu
is a constant multiple of the Lebesgue measure, we give necessary and sufficient conditions for their boundedness on the scale of Hardy spaces
H
p
,
1
≤
p
>
∞
H^p, \, 1 \leq p > \infty
, and we study their compactness and complete continuity properties. In the case
2
≤
p
>
∞
2\leq p>\infty
, we are able to compute the exact value of the norm of the operator.