I know, I can run in one t3 installation severl root pages so I am able to adminstrate all via one Backend.
But that's not wat I want to do.
I have one T3 installation with only one root page.
I would like to access the site via https://www.example.com and also via https://www.otherexample.com
I have setup apache with virtual host (already known since years) and server aliases.
DNS is setup accordingly.
I can see both request coming in - one working - and the other brings an error: "no site configuration ...".
Redirects work. But there should be a way without redirects.
Any help appreciated. Regards Kallewirsch
In general the best solution is to have just one primary domain as this reduces confusion by visitors and eases search engine indexing. That would mean that all your virtual hosts redirect to the primary domain, thus you would create two apache entries, a first one for the primary domain and a second one to catch all other with all aliases, redirecting to the first. Then in TYPO3 you can define the site with your primary domain.
If you really need to do this differently, you can define a TYPO3 site configuration with a baseurl of just /
, leaving out the domain.