When you are ready to migrate your wordpress site from localhost to a different server.

-copy your wordpress folder from localhost to the desired server

-export your localhost database and import it to the live server

-After the import is completed. Look for the following records in the “wp_options” table based on table field “option_name”:

  • siteurl : change this to your current site url
  • home: change this to your site url
  • template: change the template to the template that will be used in live (example, twentyeleven)

-save your database table changes and open your new site in the browser.

-This should get your site up and running.

-If you have posts/articles which references your assets from localhost then you will need to update the changes either manually or via database update. For more details see http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server

-Good luck!