However, redirects should occur as soon as possible so your web server is the preferred way to add the redirect to.
The actual way to do depends on your used web server then.
If you are using Apache as websever, create a .htaccess-file in the root of domain and add
Just change https://www.yoursite.com to what ever you want redirect.
NOTE: If your WSC is in the root, just add the line the .htaccess-file coming with your wsc.