Results 1 to 6 of 6
  1. #1

    addon / redirect

    Something (bug) in cpanel (nothing new in cpanel)

    Have a main domain setup on the account. Added an addon domain. Want the MAIN domain to redirect to another link within the same main domain.

    http://maindomain.com >> http://maindomain.com/folder/index.php

    it works, but it causes the addon domain to redirect to that link also. It should now.

    Anyone know about this?

  2. #2
    This is not working (404)

    Redirect /index.html http://www.domain.com/nk/index.php

    This is not working either

    Redirect / http://www.domain.com/nk/index.php

  3. #3
    I need help on this...maybe a bug?

  4. #4
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    A few questions:

    What is the local path to the main domain?
    What is the local path to the addon domain?
    Where is the .htaccess with the redirect located?
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

  5. #5
    Local path to main domain would be the default /home/user/public_html

    Local to addon is /home/user/public_html/addondomainfolder

    .htaccess is in /home/user/public_html

    .htaccess in root shows

    Redirect permanent /index.html http://www.domain.com/addondomainfolder/index.php

  6. #6
    This is aggravating!

    addon.com is redirecting to main.doma

    I deleted all instances of the addon from /var/cpanel/users, named.conf, httpd.conf, etc. and re-added it fresh. I deleted .htaccess file and redid the MAIN domain redirect via cpanel as

    http://main.com to http://main.com/folder/index.php

    now the main redirects fine, but addon STILL redircects to main domain???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •