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.

DNS setup on old.website.com and website.com on same IP

Discussion in 'Bind / DNS / Nameserver Issues' started by markuswest, Dec 12, 2014.

  1. markuswest

    markuswest Active Member

    Joined:
    Oct 21, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hi,

    On my server I have 2 accounts website.com & old.website.com but I have seen if I type old.website.com in my browser I get redirected to the website.com, how can I fix up the DNS record to point to old.website.com when I type old.website.com in the browser? or is it a better idea to get a separate IP for the old.website.com?

    Best Regards,
    Lloyd

    ===
    update
    ===
    Hi,

    I have gotten a new IP from my host, I figure that's how I will solve this problem, by adding the old.website.com to the new IP and on the primary account (website.com) DNS Zone I will add a new A record with old & www.old with the IP and then that should work.

    Best Regards,
    Lloyd
     
    #1 markuswest, Dec 12, 2014
    Last edited: Dec 12, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You may also want to check to verify there are no .htaccess files within the account with rules that are redirecting requests to the original domain name.

    Thank you.
     
Loading...

Share This Page