Fixing locally hosted wordpress site for migration (removing localhost)

Solution:

For the database, you can edit the wp-config.php file at the root of your site.

As far as your styles are concerned, you’ll have to go through the theme files that you’ve setup and adjust the relative path to those style sheets.