I have a site using Domain Access with several subdomains. I've created unique webforms on each subdomain, and would like to use the confirmation message capabilities in Webform. But every time I submit a form on any of the subsites, it always redirects back to the main domain and tries to display the confirmation message there.

For example, for a form at:
http://site1.mysite.com

When submitting the form, instead of going to:
http://site1.mysite.com/node/124/done?sid=294

It always goes to:
http://www.mysite.com/node/124/done?sid=294

The strange thing is it works fine on my dev server, but breaks on the live server. Both are on the same machine on the same server, just different main domains. Everything is configured right as far as I can tell and all of the files are the same.

I'm sorry for the vague details. Is there any more information I can supply? Or any advice on where I can look to fix this?

Comments

kr0l’s picture

I have the same issue, been trying to solve it in the webforms.module with a patch, but no success so far.

quicksketch’s picture

Category: bug » support

I'm using Webform with Domain module on a site for a client right now and I'm not experiencing this problem. Most likely some kind of automatic redirect that Domain module is doing is causing the redirection, not Webform. Try just visiting the "done" page directly at "node/[nid]/done" on the "correct" domain. Do you get redirected automatically?

quicksketch’s picture

Status: Active » Closed (cannot reproduce)

Closing after lack of activity.