RewriteCond %{HTTP_HOST} ^ndd.tld$
RewriteRule ^(.*) http://www.ndd.tld/$1 [QSA,L,R=301]
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.nomdoamine\.com [NC]
RewriteRule (.*) http://www.nomdoamine.com/$1 [QSA,R=301,L]
RewriteCond %{THE_REQUEST} ^(GET|POST|HEAD)\ (/.*)?/index.(htm|html|php|asp|shtml)
RewriteRule ^(.*)index.(htm|html|php|asp|shtml)$ /$1 [R=301,L]