How to make subdomains with modrewrite?

Discussion in 'Apache' started by EGS, Mar 3, 2007.

  1. #1
    Hi.

    How can I make subdomains with modrewrite? I want to change domain.com/dir/ into dir.domain.com

    Please help!
     
    EGS, Mar 3, 2007 IP
  2. rodney88

    rodney88 Guest

    Messages:
    480
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I had the exact same problem myself and couldn't find any good resources from searching. It took a while to piece together how to do it and I could briefly explain it here, but I wrote a detailed tutorial type post so it makes more sense to just link to it. It's in my recent blog bit. ;)

    Hope it helps
     
    rodney88, Mar 3, 2007 IP