Vishnu Prasad
Vishnu Prasad

Reputation: 727

How to access two TYPO3 root folders one with "localhost " and other with "IP Address"

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?

Tree Image

I have added Domain for rootpage as shown below. But dosen't work Domain name given in root

I am using TYPO3 v6.2 Thanks in advance

Upvotes: 0

Views: 401

Answers (2)

biesior
biesior

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

Jost
Jost

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

Related Questions