Forum Moderators: phranque
I need Typo3 to figure out what site to serve depending on the subdomain. It's common practice, look at this page [typo3.org] for example.
The dns records are setup using a wildcard like so *.domain.tld so far so good. My host now translates a request to a subdomain to a request to a directory in my home root. For example if the request is sub.domain.tld it looks for a directory named sub. Now I want to point all subdomains to my main sites index.php. I dont want to rewrite it probably. How should I be doing this?
Can I use an .htaccess file or is there a special symlink that you can create in the directory? I have for example one named '_' which is used for directing the main domain to the www directory. What is the name for such a special symlink btw?
Thank you so much.
Kozy.