Create an Apache server configuration file. Redirects, caching, compression and security rules.
No. .htaccess only works on Apache (and LiteSpeed) servers. If you use Nginx, you need to write the rules into the server configuration separately.
A faulty rule can cause a "500 Internal Server Error". Back up the old .htaccess file before changing it; if there's a problem, restore the backup.