Forum OpenACS Development: Host-Node Map

Posted by Iuri Sampaio on
Hi there,

How would I create such a alias as in where it point to

I've tried to use Host-Node Map

I found /admin/host-node-map/index on OACS admin section. Visually it seems to be a solution but I didn't get the result that I expected when I created the following hostname/url pair 342694 /uzeda/

The goal is to allow the user to access through

I'm aware nginx is a solution. I want to know if there's one on the application level i.e. OpenACS

Best wishes

2: Re: Host-Node Map (response to 1)
Posted by Benjamin Brink on
Hi Iuri,

iirc, the server must be restarted for the mapping to take effect.

host-node-map is working locally with different domains; I also recently had a subdomain set up and working as you describe --but closed it; so it's no longer available to show example.


3: Re: Host-Node Map (response to 2)
Posted by Iuri Sampaio on
Hi Ben,
I restarted Naviserver but the redirection is broken. It still doesn't work. The subdomain is present in the address bar, but the page, which displays is Mainsite default page ( i.e. acs-subsite/www/index).

I'm a using a proxy in front of Naviserver, and I wonder if NGINX could affect it somehow.

How could I track this error down to its root cause?

In parallel, It seems Host-Node map feature isn't completely developed. I found this old thread

4: Re: Host-Node Map (response to 3)
Posted by Gustaf Neumann on
I would recommend to first try without nginx. The basic setup works - at least with recent versions of OpenACS. The following machines are setup as a single NaviServer + OpenACS with the hostnode mapping activated:
  • http;//