Hello,
How much customization had you done when you were testing on your local server. It may be easier to run the mibew installation on your production, then copy over the customizations into production...
When creating a button, there is an option to include the host name in the button code. This will include fully qualified URLs in your code rather than relative paths. Note that even if you didn't include the host name, if the relative path is different then the button will be invalid. It is a good idea to generate your buttons again.
However, as I said before, consider a fresh install. If you must do a migration, you would have to search the filesystem and well as your database for any references to your test domain and change them to your production domain.