I'm just getting started with my first Pyramid project - a personal site that will host a blog and various pet projects. I'd like to host the individual projects on separate subdomains. And when the projects have REST APIs, I'd like to have those on their own subdomains too.
The URL structure would be something like this: - Main site: http://mydomain.com - Project subdomains: http://project1.mydomain.com http://project2.mydomain.com - API subdomains: http://api.project1.mydomain.com http://api.project2.mydomain.com I couldn't find much in the documentation about this. There are a couple of brief mentions of pregenerators but no examples on how to actually use them to implement subdomains. Does anyone know how to achieve the site structure above? I'm using URL Dispatch for routing. I also need to know how to create subdomains in my dev environment. I'm using "paster serve" on Ubuntu but all of the tutorials I've seen for adding subdomains to localhost are for Apache. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
