Thanks for query,
Headache you are suffering may not be migraine
but there may be some infection or impacted wax in the ears.
This may be the reason you ate having headache and vertigo
It is also possible that you might acute frontal sinusitis
Consult your doctor and seek advice.
Ok and bye.