where is the url of a given site stored.

I am using a dev site to finish a product that should be relocated on another server.

had a plan on a double install 2 db´s are up and running.

One install should be on a subdomain and one that is to be updated on the primary domain.

when the site on the subdomain is finished, it should be straigth forward just to rename the two folders.

I have now copied the files from my dev server, which works fine and is very fast, to a subdomain on its final destination. It is allready linking to its final destination db with no problems

How do i get the store to work on that subdomain. Do i have to change some thing in the db or a json file. :-) ??