These lines
may not be needed any longer:
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
If PHP 5 is now your server default, you can get rid of them. If not, move them
before "RewriteEngine On" (just for clarity).
These lines
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/mydomain\.net\" [R=302,L]
are apparently meant (I guess) to force mydomain.net if someone comes in with
www.mydomain.net. If that's the intent, the correct code is
RewriteCond %{HTTP_HOST} ^www\.mydomain\.net$
RewriteRule ^(.*)$ http://mydomain.net/$1 [R=301,L]
It's good, for search engine ranking purposes, to pick one or the other (mydomain.net or
www.mydomain.net) and stick with it.
These lines
RewriteCond %{HTTP_HOST} ^mydomain.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.mydomain.net$
RewriteRule ^/?$ "http\:\/\/servername\.lunarservers\.com\/\~name\/cgi\-bin\/YaBB\.pl" [R=301,L]
are causing your problem. Did you put that code in? Whether you come in on mydomain.net or
www.mydomain.net, if just the domain name is given it sends your visitor to your ancient YaBB forum. Are you really still running YaBB? SMF is its modern descendant. Anyway, if you put that code in, what were you trying to do? Is it going to your account or someone elses? (is it a hack?)