GamersX 0 Newbie Poster

What would the code look like to direct a subdomain to a given loacation? Like http://s1.domain.com to http://www.example.com. I have seen it out there on Apache servers, but not for IIS 7. I see plenty to redirect everything to www.example.com. Thanks, GamersX