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.
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
- 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.