A clone website is one that uses web pages and templates copied from an existing website. The cloned site has its own domain (URL) and can be on the same or a different ISP site. Clone sites on the same ISP can share a root directory, web.config, .NET files, and default shared landing page. The shared landing page does two things:
For cloned sites, the default landing page redirects users to a site's home page. As shown below, the URL (HTTP_HOST) is checked for a matching site:
When called, Homepage.aspx configures itself for a specific group. WAI's landing page checks for these co-hosted clones:
For aaGroup sites, a page like that shown above redirects to a group site, e.g.:
Note: each aaGroup subdomain (clone site) can have its own landing page and web.config file, as shown below.
To clone a site, you can copy an existing site or create a clone from a "generic" site. Only an admin user can clone a site. Cloning documentation is in a separate (confidential) document.
NOTE 1: Sendmail() needs SMTP credentials per site (or a default is used).
NOTE 2: TreatmentCalendar.aspx.cs, if used, must be updated per clone.
NOTE 3: web.config can define a common landing page for co-hosted sites, and each site can have a local web.config.