Como definir o URL base no drupal

Onde eu posso definir o URL base para o site drupal. Atualmente, quando vou ao site no meu host local, ele é redirecionado para o site original. Por favor me ajude

Tentei definir o $ base_url nos sites / default / settings.php

Aqui está a parte em que defino o URL base

/**
 * Base URL (optional).
 *
 * If you are experiencing issues with different site domains,
 * uncomment the Base URL statement below (remove the leading hash sign)
 * and fill in the URL to your Drupal installation.
 *
 * You might also want to force users to use a given domain.
 * See the .htaccess file for more information.
 *
 * Examples:
 *   $base_url = 'http://www.example.com';
 *   $base_url = 'http://www.example.com:8888';
 *   $base_url = 'http://www.example.com/drupal';
 *   $base_url = 'https://www.example.com:8888/drupal';
 *
 * It is not allowed to have a trailing slash; Drupal will add it
 * for you.
 */
# $base_url = 'http://www.example.com';  // NO trailing slash!
$base_url = 'http://localhost/mysite';  // NO trailing slash!

questionAnswers(3)

yourAnswerToTheQuestion