.htaccess changes (optional)
Default .htaccess file that comes with standard Drupal distribution handles www and non-www domains/subdomains for a specific domain. Below
Apache Mobile Filter and Domain Access configuration (optional)
To get Apache Mobile Filter and Domain Access (or other similar domain-based modules like Boost) working together, do the following:
Before installing
Introduction
Configuring settings.php
Remember, the Domain Access module lets you run multiple sites from a single installation. You only need one settings.php file. As a result
Installation
You will need to do the following before you install the module:
Installing the module
After you have prepared your server and made any edits to the default module behavior, you may install Domain Access like any other Drupal
Multiple TLD cookie, with db lookup
For use with Domain Access module only.
Multiple top level cookie domains
If you are only using sub domains and don't intend to add any top level domains, then just setting the cookie domain in your settings.php
Special instructions for shared hosting
Domain Access (DA) and related modules provide the capability to host multiple domains and sub-domains from a single Drupal installation.
