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.

Domain redirection problem.

Discussion in 'Bind / DNS / Nameserver Issues' started by tejlli007, Mar 13, 2015.

  1. tejlli007

    tejlli007 Registered

    Joined:
    Feb 13, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Dear Members.

    I have changed the main domain of a Reseller (modify an account) to a new one.
    Now, when i type the new domain in browser it redirects to:

    OLDdomain.com/userid

    Can someone help me in this?

    Thank you!!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Are there any .htaccess files within this account's home directory or public_html directory with Mod_Rewrite rules that could redirect visitors to the wrong URL?

    Thank you.
     
  3. tejlli007

    tejlli007 Registered

    Joined:
    Feb 13, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello cPanelMichael.

    Thank you for your answer.

    No, there is nothing in the htaccess and no redirections made. This is really strange to be. Never happend such thing.

    The path is the same as per the old domain. All files are there just it redirects to the olddomain.com/path
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Is the website using a PHP script that has a configuration option for a domain name? If so, you may need to update the script configuration so that it uses the new domain name.

    Thank you.
     
Loading...

Share This Page