Problem creating sub-domain in apache!!!

Discussion in 'Apache' started by rohansyco, Jul 17, 2009.

  1. #1
    hi,
    I have a quite small problem..

    i m having issue in creating the sub-domains, in apache....

    and please tell can i check them on the "localhost"...

    thanks,
     
    rohansyco, Jul 17, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    u have to also do the dns setting of the sub domain to the ip and then config apache
     
    Bohra, Jul 17, 2009 IP
  3. vasyl

    vasyl Peon

    Messages:
    138
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    apache isn't responsible for subdomains - it just serves http-requests on the ip-address it is listening.
    You need to map subdomains to that (one of that) address and then configure Virtual Host in apache
     
    vasyl, Jul 17, 2009 IP
  4. rohansyco

    rohansyco Member

    Messages:
    98
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    what do u mean by 'the apache is not responsible for sub-domains....'

    if it is so then how can i create sub-domains on the run time, or on user request....

    i want to create them programatically....
     
    rohansyco, Jul 17, 2009 IP