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.

how to Extend Drupal to subdomains ?

Discussion in 'Drupal' started by poseidon, Feb 12, 2006.

  1. #1
    Hi

    I have isntalled Drupal to my domain www.xyz.com/drupal . Actually now I want it to come at www.xyz.com. I mean drupal's site shud come at main domain. I also want to add subdomains and use drupal for it. How can I do this ?

    Thanks
     
    poseidon, Feb 12, 2006 IP
  2. subseo

    subseo Guest

    Messages:
    652
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Read install.txt, point 4. I think you would need to reinstall to xyz.com to achieve what you are looking for.
     
    subseo, Feb 12, 2006 IP
  3. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If your webserver is Apache you can also change entry for your site so that top level directory is the one in which you installed Drupal.

    If you are using virtual host containers you would change

    from . . . DocumentRoot /my_website_path/
    to . . . . DocumentRoot /my_website_path/drupal/

    If you are not using virtual containers, change the main DocumentRoot setting.
     
    clancey, Feb 12, 2006 IP
  4. tristan2006

    tristan2006 Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Is this for the same site? Remember to change the path in settings.php, which can found in sites/default/settings.php if I remember correctly. You'd get a better answer at the Drupal forums.
     
    tristan2006, Feb 14, 2006 IP