%{HTTP_HOST} is not a valid part of a substitution, its only valid when used with a RewriteCond directive. See http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewriterule for valid uses of RewriteRule.
In this case, you don't need mod_rewrite at all. Instead set both redirects with "RedirectMatch ^/(ifolder|admin)$ https://teknerds.net/$1"