The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Subdomain doesnt work

Discussion in 'General Discussion' started by gonz0, Nov 3, 2005.

  1. gonz0

    gonz0 Member

    Joined:
    Jul 2, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    When I create subdomain on one of my accounts and trying to get there - the main page is loading - I am not redirected.

    I have a problem only with this one account. The rest of accounts are working correctly. But when I put domain or subdomain with directory - I am getting correct page.

    My problem:

    http://sub.domain.com/ - main page from www.domain.com is loaded
    http://sub.domain.com/sub/ or www.domain.com/sub/ - correct site is loaded.

    Can anyone help me ?


    thx

    BTW: I have studied httpd.conf (so my friends too) and everything is correct.
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Any .htaccess files in the account?
     
  3. DigitalSurgeon

    DigitalSurgeon Well-Known Member

    Joined:
    Aug 13, 2005
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    I was having the exact same problem, I resolved it through reviewing httpd.conf.In my case the IP in the httpd.conf for subdomain and the main domain was different.Seems that main domain was moved to the unique IP but somehow the subdomains IP remained unchanged.
     
Loading...

Share This Page