My drupal installation is under a subfolder of my domain; therefore, I need to type the subfolder (www.example.com/drupal) on the address bar inorder for drupal to come up. How can I change the setting so I do not need to type the subfolder, like www.example.com instead of www.example.com/drupal?
This is rather odd. Why do you want drupal in a subfolder when you are not going to use the root folder anyways? Why not just remove the subdirectory and install Drupal in your top directory?