Redirecting rules

Hi all,

I would like to redirect www.myexample.com to my-example.com

I’m quite rusty with Drupal and struggle to remember how I did this in the past.

Any help would be highly appreciated

Cheers

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/22/feed