Domain name mapping - variables in url

Discussion in 'Server Operation' started by jasonv, Dec 12, 2008.

  1. jasonv

    jasonv New Member

    Suppose there is an application running in some host - hostserver.com. Domain name www.domain.com maps to hostserver.com. Is it possible to have different domains which map to the same host server through the same application, passing variables via the url?

    E.g.
    www.productA.com -> www.domain.com/productA and
    www.productB.com -> www.domain.com/productB where
    /productA and /productB are in fact ?query=productA and productB using mod_rewrite, and not directories.
     
    Last edited: Dec 12, 2008
  2. falko

    falko Super Moderator Howtoforge Staff

Share This Page