1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

handle subdomains by htaccess

Discussion in 'Apache' started by rajnikant, Sep 17, 2007.

  1. #1
    hello

    i have one main domain i.e. http://www.domain.com and other subdomains like
    http://fr.domain.com
    http://it.domain.com
    http://de.domain.com etc etc

    All features need to be kept same on all domains..the difference is just the language so im thinking to fetch all php files from main domain (.com) and i have coded .com domain dynamically so that will change the language according to the language code.
    im gonna write some rules on each sub domain to change the document root to main domain...not the domain name ....how can it be done? need help
     
    rajnikant, Sep 17, 2007 IP
  2. guruhowto

    guruhowto Guest

    Messages:
    75
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can this help?

    forums.digitalpoint.com/showthread.php?t=16114

    and this?

    photomatt.net/2003/10/10/wildcard-dns-and-sub-domains/
     
    guruhowto, Sep 18, 2007 IP