I must compliment you for providing adequate details of history. The headaches
which are more on lying down and coughing definitely need evaluation. These kind of headaches generally are not seen in migraine
I would suggest getting your eyes checked for fundus examination to look for any signs of raised pressure. Some of these type of headaches are best evaluated with doing imaging of brain. A physician would of great help in guiding you in further investigation and treatment plan.