apache sub domain hosting, help needed

Discussion in 'Apache' started by visioninfotech, Apr 18, 2006.

  1. #1
    hi everyone
    i have a vbulletin forum running on apache.

    I wanted to make a sub domain and point it to a sub forum so that it could look as if its hosted completely differently.

    forums.site.com is the main forum

    fitness.site.com >>> should take the complete things from >>forums.site.com/fitness/


    I can host the sub domain, fitness.site.com, where should i point it to in apache config file.

    please suggest

    thanks
     
    visioninfotech, Apr 18, 2006 IP
  2. visioninfotech

    visioninfotech Banned

    Messages:
    739
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    no help :|
     
    visioninfotech, Apr 18, 2006 IP
  3. sadcox66

    sadcox66 Spirit Walker

    Messages:
    496
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    when you make a subdomain like fitness.site.com
    you should get a subdirectory called site.com/fitness
    a.) Why not use it instead.
    b.) If you really want to - create another subdomain called forum.site.com
    and in site.com/forum place a .htaccess with
    DirectoryIndex ../forum/index.php

    You may need to tweak it.
     
    sadcox66, Apr 18, 2006 IP
  4. visioninfotech

    visioninfotech Banned

    Messages:
    739
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #4
    the aim is to use the same forum for different subdomains which we will target, this will help to create different looking forums, while the actual forum will be one only.
     
    visioninfotech, Apr 20, 2006 IP
  5. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    1. Add a subdomain DNS entry. then
    2. Add an entry on apache to catch the subdomain
    3. Point the DocumentRoot of the new subdomain to a folder
    4. Create a mod_rewrite script that will resolve,

    to make it look like a new forum..

    Hope it helps
     
    theblight, Apr 28, 2006 IP