mebots
mebots

Reputation: 111

TYPO3 domain and subdomain with one installation

Have following problem.

I use TYPO3 version 4.7.1 and for both sites the domain record is configured.

But still, both sites will be redirect to the internet site.

How must I set this up?

Upvotes: 2

Views: 2357

Answers (2)

kiri
kiri

Reputation: 63

Also go to the page properties/edit -> behaviour -> Miscellaneous -> Use as root: check the checkbox.

Clear caches.

If possible set the following:

[globalString = ENV:HTTP_HOST=domain.local]
config.baseURL = http://domain.local
[globalString = ENV:HTTP_HOST=www.domain1.tld]
config.baseURL = http://www.domain1.tld
[globalString = ENV:HTTP_HOST=www.domain2.tld]
config.baseURL = http://www.domain2.tld
[global]

Upvotes: 0

Charles Brunet
Charles Brunet

Reputation: 23160

Did you create a template for each domain? Did you set those templates as root?

See http://wiki.typo3.org/Multidomain for more details.

Upvotes: 1

Related Questions