Use these snippets to setup a magento installation with the following structure:
- http://www.domain.tld/en -> website: domain / storeview: domain_en
- http://www.domain.tld/de -> website: domain / storeview: domain_de
- http://www.domain.tld/es -> website: domain / storeview: domain_es
- http://www.domain1.tld/en -> website: domain1 / storeview: domain1_en
- http://www.domain1.tld/de -> website: domain1 / storeview: domain1_de
- http://www.domain1.tld/es -> website: domain1 / storeview: domain1_es
- http://www.domain2.tld/en -> website: domain2 / storeview: domain2_en
- http://www.domain2.tld/de -> website: domain2 / storeview: domain2_de