Redirect with HTACCESS without any index files
===

I have a domain, but it has no files on the webhost. I want to know if it's possible to do the following with only a .htaccess on my webhost.

But what I want to use this basically for is that I want to redirect my web root `http://(www.)mydomain.net` to `http://domain2.net`. And I want `http://(www.)mydomain.com/1/` redirect to `domain3.net`.

Can anybody help me out?

Thanks a lot!