This study reports the design of a dielectric resonator (DR) metasurface-based terahertz biosensor for rapid and accurate detection of different kinds of viruses (H1N1, SARA-COV-2, etc.). The characterization of the sensor is done by analyzing its absorbance properties with and without the presence of the H1N1 virus layer of different concentrations and electrical properties in the frequency range of 2.4 THz to 3 THz. A full-wave EM model of the sensor is designed using CST MWS software. The geometrical parameters of the proposed biosensor, as well as its dielectric constant of the virus swab, are varied to achieve good performance with an absorption level close to 1 (100%). A significant change in the resonating pick-up frequency owing to the variation in the effective refractive index of the realized sensor ensures the detection and classification of the different concentrations of the same or different viruses. The presented design could be used for the rapid detection of viruses with the added advantages of contactless, label-free, and accurate identification of different concentrations of viruses.