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.

Sub domain redirects to the main site???

Discussion in 'General Discussion' started by techark, Sep 16, 2005.

  1. techark

    techark Well-Known Member

    Joined:
    May 22, 2002
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Created two sub domains on a account and they both redirect to the main sites page.

    No .htaccess file or at least it is empty. No matter what sub domain I create on this one domain when you type in .test.domain.com it shows the main sites index page. Type in domain.com/test and it shows the correct default page.

    httpd.conf when I created the sub domain it created a Server Alias of www.test.domain.com

    Now how did that happen???

    I tested it myself as I thought ok the customer tried to create a www.test.domain.com sub but the one I created did the same thing.

    Tried it on another account same server. No problem sub domain created just fine no www in front and sub.domain.com goes to the correct file.

    So it does appear to be limited to this one account.

    Anyone ever seen anything this strange???
     
Loading...

Share This Page