I have recently changed a domain name for a Drupal 6 website and am now experiencing weird behaviour. While I can view the front page of the website using the new domain name, any other pages or links I try to access refers to the old domain name. This is what you would see in the browser's url:
Home page: mynewdomain.com Interior page: myolddomain.com/node
Shouldn't Drupal automatically know the new domain name? I have searched for a solution and can't find anything. What is causing this, and how do I fix it? This is really screwing up SEO rankings.