CLONES & DOMAINS Co-hosted clones share a root, .NET files, web.config, and a landing page. The shared landing page, if used, mainly does two things: 1. Inspect the URL for a match with a cloned site 2. Redirect to the "home page" of the cloned site As shown below, the URL domain (HTTP_HOST) is checked for each clone: protected void Page_Load() { string pDomain = Request.ServerVariables["HTTP_HOST"]; if (pDomain.IndexOf("aaworcester") > -1) { Response.Redirect("https://aaworcester.org/Homepage.aspx?GRP=WAI"); } elseif (pDomain.IndexOf("district23aa") > -1) { Response.Redirect("https://district23aa.org/Homepage.aspx?GRP=District23"); } elseif (pDomain.IndexOf("aaemassd24") > -1) { Response.Redirect("https://aaemassd24.org/Homepage.aspx?GRP=District24"); } elseif (pDomain.IndexOf("aadistrict26") > -1) { Response.Redirect("https://aaDistrict26.org/Homepage.aspx?GRP=District26"); } elseif (pDomain.IndexOf("Area30Treatment") > -1) { Response.Redirect("https://Area30Treatment.org/Homepage.aspx?GRP=A30TC"); } elseif (pDomain.IndexOf"aaGroup") > -1) { Response.Redirect("https://aaGroup.site/aagroup/default.aspx"); } elseif (pDomain.IndexOf("SiteX") > -1) { Response.Redirect(SiteX/default.html); } } If called, Homepage.aspx configures itself for the named GRP. Or, the redirect may go elsewhere. A URL check (+redirect) must be done for each clone that share the root directory & landing page. For example WAI's shared landing page checks for these co-hosted clone sites: https://aaworcester.org https://district23aa.org https://aaemassd24.org https://aadistrict26.org https://Area30Treatment.org For AA group clones, subdomain definitions control the redirect: https://RMOKOS.aaGroup.site https://Choices.aaGroup.site https://WareItsAt.aaGroup.site https://MaynardNow.aaGroup.site https://HarvardHJF.aaGroup.site https://Catacombs3.aaGroup.site https://StowSunday.aaGroup.site https://SobahCamel.aaGroup.site https://NashobaBBSS.aaGroup.site https://SudburySunday.aaGroup.site https://PathToRecovery.aaGroup.site https://LeominsterBBSS.aaGroup.site NOTE 1: For Sendmail(), SMTP credentials are needed per clone (or a default is used). NOTE 2: The .NET page TreatmentCalendar.aspx.cs (if used) must be tweaked, per clone. NOTE 3: The root web.config file specifies the landing page(s) for co-hosted clones. ###