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

markuswest

Active Member
Oct 21, 2013
30
0
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
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.