We demonstrate a narrow-linewidth optical frequency comb based on a femtosecond Ti:sapphire laser by precisely phase-locking it to a subhertz-linewidth Nd:YAG laser at 1064 nm. Each comb tooth inherits the phase coherence and frequency stability of the subhertz-linewidth laser. By comparing against other independent narrow-linewidth lasers, we measured the absolute linewidth of the comb teeth to be 0.6 Hz–1.2 Hz over an octave spectrum.