Manage Multiple domains on the same TYPO3

Submitting your vote...
Rating: 2.9 of 5. 7 vote(s).
Click the rating bar to rate this item.

There are two ways to manage multiple domains in one Typo3 installation. The first method is to create a RewriteRule in your .htaccess which tells the webserver to redirect requests on a specific domain to a specific page id / website tree. You can do that by putting the follwing code in your .htaccess


RewriteEngine on

RewriteCond %{HTTP_HOST} ^(www\.)?testdomain\.it$ [NC]

RewriteRule ^$ [R=301,L]

RewriteRule ^[^/]*\.html$ /index.php


The second and much better way to handle multiple domains in one Typo3 installation is to use Typo3 Domain Records. You create your page trees the usual way. Afterwards you create a domain record on each subtree for each domain. This way can you tell Typo3 which subtree is called on which domain.


Requirement to get this working is that DNS and Webserver are configured correctly for your Domains.


More information can be found on:

Quickstart - Controlling multiple domains

Using subdomains with Typo3


Andi, 11-06-07 12:24:
Unfortunately TYPo3 is only redirecting 302!

To have all your domains redirected 301 you should use jb_status_code. This way you can avoid doubled content.
You have to insert 2 Domain Records to each Page if you want to solve the "with" and "without" www Problem

1st Domain Record:
domain record:

2nd Domain Record
domain record:
redirect to: (don't forget http://)

Check the next box so your parameters will be given too.

Then if you have installed jb_status_code there is another box. Type the number "301" into this box.

Now a call to will be redirected 301 (permanently moved) to and Searchengines will be happY :-)

Add comment

* - required field



Top 10 Updates

Useful Links geändert am  24-Apr-2013 06:31:20
Nice fonts using Google font API geändert am  20-May-2010 14:36:47
TS-based Searchbox for Indexed Search  geändert am  18-May-2010 16:27:15
TYPO3 SEO geändert am  30-Apr-2010 07:44:22
Search engine friendly graphical headers in TYPO3 geändert am  30-Apr-2010 07:33:44
Creating a simple Infocenter using TYPO3 geändert am  17-Nov-2009 11:12:52
Making the Section Menu work correctly with TemplaVoila geändert am  05-May-2009 10:27:17
Show pages with type "Not in Menu" in a sitemap geändert am  05-May-2009 10:11:17
Implementation of the DHTML menu from  geändert am  01-Feb-2009 13:02:48
Sample DHTML menu geändert am  01-Feb-2009 12:51:25

Latest comments

14-Sep-2015 09:45:19
Siviwe Mdudo schrieb: lib.search_form = COA_INT lib.search_form { 10 = TEXT 10 { typolink.parameter =...
TS-based Searchbox for Indexed Search
06-Sep-2015 08:17:10
Printing Services Online schrieb: Are you looking for professional business cards? Or maybe you seek for printing laboratory that...
Shortcuts for other users
04-Mar-2015 02:25:17
Maria Fe LIamas schrieb: Couldn't be written any better. Reading this post reminds me of my old room mate! He always kept...