Modifying base_url in settings.php
Firstly, your $base_url should be fully qualified: http://www.example.com.

Secondly, you should configure your $base_url to be 'dynamic' - different for development, staging and production.  Detect the 'environment' and then set the $base_url accordingly.

As for the broken styling, I have seen broken theme problems related to file system rights.  It may be that your site is using CSS/JS aggregation / compression.  These compressed files are created on the fly by Drupal (check admin/config/development/performance).  If there are file/folder rights issues on the production, the files will not be created.

May be useful to check the error log (/admin/reports/dblog) - could just point you in the right direction.