If I try to think as your doctor, about a viral infection, I must ask for an extra information.
Have you experienced fever, too?
My advice is to pay attention on these symptoms.
If you start noticing that the headache is getting worse over time, and is accompanied with other symptoms, like visual and hearing problems, difficulties with walking and coordination, and if it's always followed with nausea and vomiting, you should ask for an extra medical attention.
On the other side, this could be just a tension type of headache (feeling like a tight band is strapped around the head, with pain symptoms worse in the scalp area, around the temples, and the back of the head), and if you have it for longer that two weeks for several consecutive months it needs to be considered as a chronic tension headache.
Morning headache and tension headache symptoms may be triggered by: colds and flu, depression, excessive caffeine consumption, working in one position for long periods, poor posture, stress, eye strain, extended car drives, smoking, nasal congestion and sinusitis.
Best wishes!
Marija