Is there a way to do this with a rewrite?

I have a domain "mysite.com" being forwarded to "seconddomain.com/folder"

is there a way to mask the URL so that when a user gets to "seconddomain.com/folder" it shows up as "mysite.com" in the address bar?