Multiple Parked Domains |
[eluser]esra[/eluser]
Do a search on the web for 'wildcard domain redirection code'. You should come up with some hits. Alternatively, download a copy of Postnuke. Postnuke includes a module called multisite, but this module only contains sample files and instructions for implementing multisite. However, if the multisite module is initialized (enabled), the bootstrap loader (index.php) invokes wildcard subdomain redirection (an Apache feature that is enabled on hosts supporting subdomains). The Postnuke solution handles both domains and subdomains. The only setup file required includes a list of domains with code for stripping off the www. and .com parts of the domain (e.g., www.domain.com becomes domain). In te case of subdomains, the subdomain name remains and the domain name is stripped off. A special directory is created to store subdirectories using the subdomain or domain name (whatever is the case). Those subdirectories usually only contain a template subdirectory and config file. You would have to adapt the general approach to using the CI file system. |
Messages In This Thread |
Multiple Parked Domains - by El Forum - 12-26-2007, 08:28 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 09:36 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 09:48 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 10:00 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 10:03 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 10:11 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 10:26 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 10:40 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 10:59 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 11:37 PM
Multiple Parked Domains - by El Forum - 12-26-2007, 11:54 PM
Multiple Parked Domains - by El Forum - 12-27-2007, 12:28 AM
Multiple Parked Domains - by El Forum - 12-27-2007, 04:54 PM
Multiple Parked Domains - by El Forum - 12-27-2007, 11:34 PM
|