SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2009
    Location
    Cheltenham, UK
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multiple data driven sites on single IP with own names

    I've inherited a site that was 'in-development'. The plan was to create a series of microsites of the partners of the main company each with their own domain. For instance, the client has lots of partner sites (www[.]partner[.]com). The system has been setup so that currently each partner site is determined by a querystring item such as admin[.]client[.]com/aboutus[.]php[?]store=17

    By changing the store you get the about us page for that branch. How can I set this up so that www[.]partner[.]com resolves to admin[.]client[.]com/aboutus[.]php?store=17

    This is currently on a LAMP stack.

    Many thanks

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,644
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    petersen,

    Do you have a host (with a Control Panel)? If so, setup a subdomain using the control panel and that's all you need.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2009
    Location
    Cheltenham, UK
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure that'll work. Each partner will have their own domain name. I need to map their domain name to the master domain and differentiate them using the querystring.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •