#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    2
    Rep Power
    0
    Is it possible to create a sub domain using mod_rewrite? If so, please include an example.
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Not with mod_rewrite alone. You need to run DNS. http://subdomain.foobar.com/ just doesn't get resolved.
  4. #3
  5. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    18
    mod_vhost_alias works better. If you set up DNS with wildcards you can set up subdomains just be creating the directories.

IMN logo majestic logo threadwatch logo seochat tools logo