A probelm with add-on domain

Discussion in 'Site & Server Administration' started by linda-duxbury, Feb 10, 2008.

  1. #1
    Hi,

    I have hosted a domain as main domain (ex. aaa.com) & an add-on domain (ex. bbb.com) on a cpanel hosting.

    When I enter this address: "bbb.com/foldername" in browser, it automatically changes to "bbb.aaa.com/foldername".

    Could you please give me guidance?

    Thanks.
     
    linda-duxbury, Feb 10, 2008 IP
  2. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #2
    do you have any redirection setup right now?
     
    rllunzmann, Feb 10, 2008 IP
  3. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #3
    What happens if you enter bbb.com?

    And I agree some form of redirection has been created.
     
    Colbyt, Feb 10, 2008 IP
  4. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #4
    That's one thing I hate cPanel. In other control panels, each domain has its own folder, so you will not face to this. As other mentioned, you can check the default page in public_html folder of bbb.com domain to see if there is any redirect code
     
    gate2vn, Feb 10, 2008 IP
  5. linda-duxbury

    linda-duxbury Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    - for "bbb.com/foldername/index.php" everyrhing is OK but when I type "bbb.com/foldername", it automatically change to "bbb.aaa.com/foldername"

    - No I have not any redirection

    - No problem, when I enter bbb.com everything is OK, the problem is anly for folders located in subdomain.

    Is there any solution?


    Many thanks.
     
    linda-duxbury, Feb 10, 2008 IP
  6. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #6
    pm me your cPanel info, I can take a quick look and let you know what's wrong with configuration
     
    gate2vn, Feb 11, 2008 IP