[TYPO3] Multiple domains with one Typo3?
Xavier Perseguers
typo3 at perseguers.ch
Thu Apr 17 06:55:57 CEST 2008
Hi Ronald,
> I am still not clear how to do multiple domains with one Typo3 installation.
>
> I have used for example.com a directory tree:
>
> /srv/www/vhosts/example.com/htdocs = dummy-4.1.6
> /srv/www/vhosts/example.com/typo3_src-4.16
>
> and apache's vhost.conf:
> <VirtualHost *:80>
> ServerAdmin me at example.com
> VirtualDocumentRoot /srv/www/vhosts/%0/htdocs
> ErrorLog /var/log/apache2/virtual_error_log
> CustomLog /var/log/virtual_access_log vhost_combined
> HostnameLookups On
> UseCanonicalName Off
> ServerSignature On
>
> [strip]
> </VirtualHost>
>
> How can I add now newexample.com which would be in the directory
> /srv/www/vhosts/newexample.com
You have to declare a server alias and then tell TYPO3 to "answer" to
multiple domains. I made an explanation here:
http://xavier.perseguers.ch/en/tutorials/typo3/configuration/realurl.html
HTH
--
Xavier Perseguers
More information about the TYPO3-english
mailing list