In .htaccess, redirect all domains except one
snippet in htaccess

In .htaccess, redirect all domains except one

user545

RewriteEngine on 
Rewritecond %{HTTP_HOST} !^www\.example\.net
RewriteRule ^(.*)$ http://www.example.net/$1 [R=301,L]