Skip to main content

Addon Domain from one account redirects to a domain on another account

Comments

4 comments

  • cPanelMichael
    Hello :) Does this only happen when accessing the addon domain name securely? Did you review the .htaccess files in both the public_html directory and the document root directory of the addon domain name? Thank you.
    0
  • kodyxgen
    Hi, I am not accesing the addon domain securely, but it redirects to secure https, the thing is that in the addon domain directory i dont have files, cPanel did not created any file there and it is empty. the addon domain name and it is redirecting to https and i see the contet of another domain,it is realy strange.
    0
  • kodyxgen
    I managed to solve my problem, in case someone has the same problem, the thing was in the main domain .htaccess file, i was redirecting all domains to https the correct setting are. RewriteEngine On RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^(?:www\.)?(maindomain|addondomain if it is a case)\.com$ [NC] RewriteRule ^
    0
  • cPanelMichael
    I'm happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.