Cell surface protein used by a virus as an attachment and entry receptor. In some cases, binding to a cellular receptor is not sufficient for infection: an additional cell surface molecule, or co-receptor, is required for entry. Some viruses are able to use different receptors depending on the target cell type.