Sub-Domain Question

Discussion in 'Site & Server Administration' started by argothiusz, Mar 25, 2008.

  1. #1
    I just create a sub-domain through CPANEL. However when I try to navigate to it, the subdomain re-direct me to top level domain. What is going on? :(
    Do I have to wait for 24 hours or something?

    Thanks
     
    argothiusz, Mar 25, 2008 IP
  2. titahost

    titahost Peon

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    When You created the Subdomain, What directory you selected, it will direct there. if you left it blank, it will go tot he TLD.
     
    titahost, Mar 25, 2008 IP
  3. argothiusz

    argothiusz Well-Known Member

    Messages:
    1,500
    Likes Received:
    79
    Best Answers:
    0
    Trophy Points:
    140
    #3
    I have an index file but it still re-direct back to TLD.
    I create new directory for subdomain too.

    Got it to work :)

    Thanks
     
    argothiusz, Mar 25, 2008 IP
  4. D'Godown

    D'Godown Well-Known Member

    Messages:
    1,093
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    140
    #4
    it seems you have a wildcard entry in the httpd.conf of domain, like serveralia domain.com www.domain.com *.domain
    Only this state leads to the thing you are mentioning.
     
    D'Godown, Apr 3, 2008 IP
  5. ishan

    ishan Prominent Member

    Messages:
    2,212
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    325
    #5
    Which script are you using for the TLD ?
    Can you post the contents of your .htaccess here ?
     
    ishan, Apr 4, 2008 IP
  6. sujay0000

    sujay0000 Peon

    Messages:
    630
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hey.... in subdomain section of ur cpanel itself...

    There is a part which says Manage redirects.... Remove the redirection if there is any by default....

    I hope this works out...

    Regards;
    Sujay
     
    sujay0000, Apr 6, 2008 IP