Is it possible to set a redirect to my main website when people visit my custom domain?

e.g. if people click on “screencasts.mydomain.com”, the page displays Komodo landing page. I’d like to redirect to my homepage. Will this be possible?