I guess, my question was truly about virtual host mapping. If several webapps running on the same server and I want to use different domain names for each a1.com -> a1 app a2.com -> a2 app
On Mar 4, 1:16 pm, "Diez B. Roggisch" <[email protected]> wrote: > Am 04.03.2011 um 12:35 schrieb David Borsodi: > > > Hello > > > is there any other way to map example.com to 1.2.3.4 for a turbogears/ > > paste app than using an apache that handles the domain mapping and > > uses a proxy to forward requests? > > ANY other way, it does not have to be tg/paste specific. > > I don't understand what you are after here. Domain-Mapping is the > domain (pun intended) of the DNS. Nothing to do with apache. > > The only mildly sensefuly thing I can think of to make from this is > virtual-host-mapping. Which is a totally different beast. It's about > having several domains mapped to *one* IP, and thus some > disambiguation needed when you want to serve several different webapps/ > sites. > > That's usually done by apache, but can also done using nginx. I'm not > aware of other options, but it wouldn't be hard to write a pure WSGI/ > paster based solution as well. All you need is to discriminate based > on the HOST-header, and depending on that, dispatche to different > mounted WSGI apps. > > If that's not what you are after, you need a bit more explaining to do. > > Diez -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

