Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
subdomain_support

The application is configured in such a way that, when a new company is being created, the company admin needs to provide the subdomain name to be used. ie If the application is hosted on www.somedomain.com, then with the subdomain it will be subdomainname.somedomain.com. Based on the subdomain name, the code looks up the database to find out the company and based on that it can load the theme configured for the company. We use subdomain-fu plugin for supporting the subdomain feature in the application.

We also need to ensure that when a user types in a url with subdomain, then the request is forwarded to our server. For this, the DNS needs to be configured in such a way that *.somedomain.com points to one single IP. Apart from this, the web server needs to be configured in such a way that it can use the correct virtualserver.

More information here - http://ma.tt/2003/10/wildcard-dns-and-sub-domains/

Support for seperate domain - First, when you resolve the domain name it should point it to our IP. Second, Web server needs to be configured such that it handles the request for that domain. For this, 'ServerName' attribute (under VirtualHost Section) should list all the domains that the application support. Thirdly, the code needs to be modified in such a way that it can load the correct company.

subdomain_support.txt · Last modified: 2018/08/31 16:16 (external edit)