Reputation: 727
I need to access two root folders (shown below) one with localhost as starting url and other with IP address as starting url. How can I configure it?
I have added Domain for rootpage as shown below. But dosen't work
I am using TYPO3 v6.2 Thanks in advance
Upvotes: 0
Views: 401
Reputation: 55798
Create two vhosts
in your apache conf both pointing to the TYPO3 folder, i.e. http://fakedomain1.loc
and http://fakedomain2.loc
(also add it to your hosts
file).
Then configure multidomain as described in documentation (as also Jost suggested)
The goal is to access the page by the domain only i.e. http://fakedomain1.loc/
and not by http://localhost/project-number-1234567
Upvotes: 1
Reputation: 5840
Add a domain record to each root, the first one with domain 'localhost', the second one with the IP address as domain. If both hostnames are routed correctly, that should do it.
Upvotes: 1