I can't seem to find the answer to this puzzling problem.

I had a drupal site on domain alpha, with domain beta parked on it.

Then I moved domain beta to another server and ported the drupal site to it.

Domain beta works fine until I submit a form, like a contact form, or submit an administrative page. For reasons unknown to me, the page gets submitted and then redirected to domain alpha. I do not want to keep domain alpha, so this is a problem.

I have Wilderness Theme and the following modules enabled:

Core Opt: blog, contact, database logging, menu, path, statistics, syslogs, throttle, update status
CCK: content, fieldgroup, link, node reference, option widgets, text
Views
Backup and Migrate

Any help is appreciated!

Comments

scooogie’s picture

Is there anyone who can tell me why the domain gets redirected upon completion of a Drupal form?

It redirects to the original installation domain.

ashish.cms’s picture

Please set base url in settings.php like: $base_url = 'http://www.example.com'; // NO trailing slash! and
After setting base URL, please clear cache from here : 'http://www.example.com/admin/settings/performance' and run update.php

scooogie’s picture

I thought I had checked settings.php, but that was it. thx