With an .htaccess file, you shall determine how the server which manages the requests to your web sites should act in different cases. This is a text file with directives that are carried out when an individual tries to open your website and what happens next will depend on the content of the file. As an example, you may block a certain IP address from accessing the Internet site, which means that the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server will direct the visitor to the new web address. Also you can use customized error pages or preserve any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, like WordPress, Drupal™ and Joomla™, use an .htaccess file to work properly.