Not sure you want to do it in .htaccess, but maybe you could. In any event, sounds like you are using Apache and if you put the below in httpd.conf, edited accordingly it will look for someone coming in with whatever value is in ServerName and redirecting to whatever you have in the redirect link. Some of the other data in here is used in the event of problems and could probably be dumped. There is probably a simpler way to do this too if you want to look.
<VirtualHost *:80>
ServerAdmin tech_support@domain.com
DocumentRoot "e:/apache_data/apache_content/XXX"
ServerName mysite.com
ErrorLog "e:/apache_data/apache_logs/XXX"
CustomLog "e:/apache_data/apache_logs/XXX" combined
Redirect / http://www.mysite.com/
</VirtualHost>





