How to redirect all of site link into one Domain?

Hi Guys. There is something I want to know. It is about redirecting. How can I redirect my site into one domain. I means no normal redirecting.

For example

I want to redirect kkkk-c-o-m/kkk ( I means all paths) to ggg-c-0-m.

How can I do this?

Hi Guys. There is something I want to know. It is about redirecting. How can I redirect my site into one domain. I means no normal redirecting.

For example

I want to redirect kkkk-c-o-m/kkk ( I means all paths) to ggg-c-0-m.

How can I do this?