Do you need to disable hotlinking to your sites and server? Here is a sample (that I actually deployed) with my primary domain, domain alias and domain IP address.
# [ CP Global Hotlinking – Open ]
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?69.48.152.78/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?nyhtml.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?stephanpringle.com/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png|js|css|ico)$ – [F]<Files .htaccess>
order allow,deny
deny from all
</Files>
# [ CP Global Hotlinking – Close ]
Special thanks to the folks over at Dynamic Drive for their banning generator.