You probably don't want to use absolute urls in your code, it is generally preferred to use the function 'bloginfo'. So for example, instead of writing:
http://www.example.com/wp-content/themes/theme/images/image.png
you should write
<?php bloginfo('template_directory'); ?>/images/image.png
This way it works no matter what domain your on.
I would recommend going back and changing to the bloginfo function, which depending on your code editor, you could open all your theme files and search all open documents and replace it with the bloginfo function. If you don't want to do that, you might be able to use the Search and Replace plugin.
But really, using the bloginfo function is much much better in the longrun.