Skip to main content

Strange addon domain redirect issue

Comments

14 comments

  • Infopro
    Check your .htaccess in root directory of domain1.com, if possible, rename the file to .htaccess.txt for a moment and then try opening domain2.com
    0
  • Archinus
    Check your .htaccess in root directory of domain1.com, if possible, rename the file to .htaccess.txt for a moment and then try opening domain2.com

    Thanks - when i disable the .htaccess it creates a redirect loop on both domains.
    0
  • Infopro
    To be clear, you have domain1.com, and there is I'm assuming, nothing in it but an index.html (you've disabled the .htaccess here) and you have an addon domain, domain2.com, with nothing in it, not even an .htaccess, but it does have an index.html as well. On opening domain2.com you're getting a redirect loop. Is that right? Or do you have scripts installed into one or both of these domains?
    0
  • Archinus
    To be clear, you have domain1.com, and there is I'm assuming, nothing in it but an index.html (you've disabled the .htaccess here) and you have an addon domain, domain2.com, with nothing in it, not even an .htaccess, but it does have an index.html as well. On opening domain2.com you're getting a redirect loop. Is that right? Or do you have scripts installed into one or both of these domains?

    I apologize i should of specified that domain1 has a wordpress install, and domain2 is empty.
    0
  • Infopro
    Which one has the redirect loop?
    0
  • Infopro
    Are you using CloudFlare by chance?
    0
  • Archinus
    Which one has the redirect loop?

    With the .htaccess disabled domain2 redirects to domain1 which then goes into a loop. Also no i am not using cloudflare.
    0
  • Infopro
    See if this is of any use to you: wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress
    0
  • Archinus
    See if this is of any use to you: wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress

    Well for simplicity's sake i removed the wordpress install (it was a blank site), and removed and re-added domain1 and domain2 and the loop has stopped but domain1directs me to /cgi-sys/defaultwebpage.cgi and domain1 directs me to domain1.com/domain2.com/
    0
  • cPanelMichael
    Hello, Do you have root access to this server? If not, could you report this problem to your web hosting company so they can take a closer look and verify why this is happening? Thank you.
    0
  • Archinus
    Hello, Do you have root access to this server? If not, could you report this problem to your web hosting company so they can take a closer look and verify why this is happening? Thank you.

    I do have root access to the server.
    0
  • cPanelMichael
    Were you able to report the issue to your web hosting provider so they could take a closer look? Thank you.
    0
  • Archinus
    Were you able to report the issue to your web hosting provider so they could take a closer look? Thank you.

    I think you may of misread. It's on a VPS i have root access to.
    0
  • Infopro
    Well for simplicity's sake i removed the wordpress install (it was a blank site), and removed and re-added domain1 and domain2 and the loop has stopped but domain1directs me to /cgi-sys/defaultwebpage.cgi and domain1 directs me to domain1.com/domain2.com/

    Sounds like one of the domains has not propagated, or is configured incorrectly somewhere to me. Do you note any issues checking them both from a site like this one? intodns.com
    0

Please sign in to leave a comment.