I approach consciousness from a different perspective. As I see it consciousness is not a problem but a useful, and essential tool that arises from the benefits it provides for a specific purpose, living. In its most basic form, consciousness is a process of acquiring and assimilating useful information from the environment that enables an organism to conform, live and thrive in that environment. As consciousness evolves it ultimately provides the means to gain an understanding of how the world works to a point where an organism can alter its environment to suit its own needs and purpose. Consciousness arises within an organism because it supports the organism that gives rise to it. When an organism ceases to function the process of consciousness ceases to be necessary or viable.
I've come to my conclusions about consciousness by asking, "What is consciousness, where does it come from, by what means and process did it arise and evolve, what sustains it, what is its purpose and requirements."
There are more fundamental questions one must answer before they can hope to make any real progress in their understanding. Those questions are, "What is knowledge? By what means do we acquire, process and confirm it?" The certainty with which you know comes from an understanding of how you know it. Since consciousness depends largely on the function of external organs I wouldn't say "it's all in your head" but a functioning cognitive brain is essential to any meaningful discussions one might hope to have about it.
Consciousness; where would we be without it?