The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Web site redirecting, but can't figure out why

Discussion in 'Bind / DNS / Nameserver Issues' started by keat63, Nov 9, 2015.

  1. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I've recreated an account today, and the URL seems to be redirecting to a different site but for the life of me can't figure out why.

    The site in question is going to be a mirror image of an existing site for dev purposes.
    I've done this before, so there may be some redirect left over, from the past but i can't find it.
    I checked at registrar level, nothing in Cpanel and nothing in WHM.

    Any ideas, i'll keep looking but it's driving me insane.
     
  2. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator

    I may have found the issue. I think it may have something to do with the way i'm copying the public_html folder.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you reviewed the .htaccess file within the account's home directory or it's public_html directory to verify there are no custom redirect rules added?

    Thank you.
     
  4. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    765
    Likes Received:
    20
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I found it late last night, it was indeed the .htaccess file.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page