
Creating Portal Instances
Environment:
Liferay Version → liferay-portal-tomcat-6.0-6.0.2
Database → Mysql
Java Version → jdk 1.6
Step 1: Setup liferay and mysql database.
Step 2: Start the server and login as administrator.
Step 3: Navigate to Manage → Control Panel → Portal Instances.
Step 4: By default only one portal instances will be available. Now click on add and add the www.vcvijayan.com portal instances.
Step 5: Click on save, now new portal instances has been created. Like this you can create n number of portal instances.
Step 6: Now we need to mention our virtual host name in our hosts file. Which is available under
C: → Windows → System32 → Drives → etc → hosts file.
Step 7: Append the following line at the end and save it.
127.0.0.1 www.vcvijayan.com
Note: For editing the file you need system administrator permission.
Step 8: Now shutdown and start the server.
Step 9: Now access the following URL in browser www.vcvijayan.com:8080. Now new portal instances will run on liferay server.