cccs-web / core

CCCS' customized django web application
4 stars 11 forks source link

change default re-directs for variable subdomains #182

Closed cccs-ip closed 9 years ago

cccs-ip commented 9 years ago

Hi Pau.

When entering the CCCS site from an un-defined subdomain, traffic is currently being routed to 'abadi'/

E.g. http://junksubdomain.crossculturalconsult.com

Can you please help to change the nginx settings so that junk domains go to htttp://crossculturalconsult.com (rather than our client sub-domain)?

Thank you!

pwhipp commented 9 years ago

All junk domains now return no data - as if they don't exist, which is probably right. If an nginx configuration identifies a subdomain it will work without any other configuration changes being required.

cccs-ip commented 9 years ago

Thanks, Paul, but I would like junk domains to resolve to the CCCS website.

pwhipp commented 9 years ago

done.

cccs-ip commented 9 years ago

Excellent. Thank you. This helps to ensure that previous subdomain traffic still reaches the site.