Routing for different domain names

Is there a way to allow another domain name like seconddomain.com to point to my primary domain with specific passed parameters such as primarydomain.com/store?id=441? I want to be able to offer the ability for a specific store to let its own URL address point to my main domain view for them but it requires the additional parameters. They wouldn’t want to see the additional parameters on their URL.

I am not sure if this is a question for routing or if it is something that I would need to put into my htaccess or the domain registration. I didn’t think domain registration could include parameters like this.