In case you can't access your admin page to set site URL, you have to manualy update table
wp_options in your database. You can do it with a tool like PHPmyAdmin or use mysql on console.
This is the SQL statement to apply:
update wp_options set option_value='www.your-site.com' where option_name='siteurl';