Forum OpenACS Development: Re: Multiple DNS and subsites

Collapse
Posted by Iuri Sampaio on
Although it's too risky and resource consuming, another option would be to start one AOLSERVER instance to every DNS. Then a different config file to every instance pointed to the same homedir and database.

Would that be even an option?

Best wishes

Collapse
Posted by Iuri Sampaio on
The solution seems a task for a proxy server but not entirely. I already set up in the Nginx, server settings, to the DNS http://eventeasy.iurix.com to redirect to http://iurix.com/eventeasy/

But, It seems the solution is one step further, in the application level. It requires something similar to example:

The user access eventeasy.iurix.com, OACS core notices the DNS is within hostnode's table, that the triple (eventeasy.iurix.com, 9589839, /eventeasy/)

OACS serves the entire subsite to the user as if it is /

In the worst scenario it would impact url's structure, and that means a core change.

Is there any other possibility?