Changing a domain name for Drupal 6 installation

I’m building a new web site for KEI, using Drupal 6. We created a dummy site on a subdirectory of another domain, and then tested the site to see would happen when we assigned a new domain to the new site built on drupal. Well, the new domain broke everything. The fix involved a single file: sites/default/setting.php.

Find the text starting with: $base_url = ‘http://

and edit it so the new domain is used.