I'm trying to get http://whm.mydomain.tld and http://cpanel.mydomain.tld to work

But for now if you browse to it, it shows a http://mydomain.tld/cgi-sys/defaultwebpage.cgi page.

How can I make it that cpanel auto redirects the whm and cpanel sub to the cpanel and whm page. ?