Unless you changed the default configuration, your apps runs under every domain/subdomain on the server, so just redirect people to the correct hostname that you want to use and it should work.
> Thanks for the info, Jesse. > > How would I set an app to use a different subdomain without restarting it and > changing it's WOAdaptorURL and WOHost properties? > > What classes/methods should I be looking at? Are there any other resources > that would help? > > Thanks again, > Ben > > > On Wed, Mar 21, 2012 at 1:27 PM, Jesse Tayler <[email protected]> wrote: > Sure, > > Use apache to redirect based on subdomains or reverse by sending a domain ID > like you have and setting you app page wrapper or whatever else to the domain > > In the past I used D2W rules based on the domain that changed logic within > the same app etc. which is what I think you are describing. > > > > Sent from my iPad > > On Mar 21, 2012, at 3:08 PM, Benjamin Chew <[email protected]> wrote: > >> Hi guys, >> >> I have a request from marketing to redirect to a specific sub-domain based >> on a parameter, and I wondering if you guys had encountered something like >> this before. >> >> For example, apple.com has some subdomains: >> http://store.apple.com >> http://support.apple.com >> >> I imagine these are actually different apps in Apple's case, but is there a >> way to do this in one app based on a parameter? >> >> For example, >> >> http://store.apple.com/us/wa/product?id=newipad >> would be rewritten as >> http://www.apple.com/us/wa/product?domain=store&id=newipad >> >> http://support.apple.com/us/wa/article?id=retinadisplay >> would be rewritten as >> http://www.apple.com/us/wa/article?domain=support&id=retinadisplay >> >> Thanks in advance, >> Ben >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com >> >> This email sent to [email protected] > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
