NGINX + Domain Access Module

Events happening in the community are now at Drupal community events on www.drupal.org.
mrgoltra's picture

Good Day,

I am trying to use the domain module with nginx. I followed the direction on the domain module side even adding the * wildcard dns entry. (with linode)

I added the *.mydomain.com to the config file

server_name mydomain.com *.mydomain.com;

under this configuration my site is not accessible. From my understanding this is an accepted syntax.

but if I separate the *.mydomain.com adding another entry, site becomes accessible . Now when I add more details such location and other configuration the site becomes inaccessible.

At this point the domain module is not yet activated.

Any insight to a solution is greatly appreciated.

Thank you,

Mark

Comments

Please read

perusio's picture

this to understand how server name matching works. It starts always by the most specific progressing to the more generic.

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: