site redirects to new domain

Permalink
I moved the domain of a site to another company with a new design. now i am trying to look at my old site in a subfolder. domain/foldername/index.php. it is redirecting me to the original domain name. how do i stop that so i can look at the old site?