Domain names mapped to server passing variables – Apache Web Server

  apache

Q(Question):

Hi everyone

Is this possible:

have 1 domain name e.g. www.productA.com mapped to a host server host.server.com/productA and a different domain name www.productB.com mapped to the same host server name.server.com/productB,

where /productA and /productB are variables rewritten to ?prod=productA and ?prod=productB on the host server running apache. Basically, can both domains map to the same application running on apache in the same host server?

A(Answer):

LEAVE A COMMENT