This wiki does not contain official documentation and is currently deprecated and read only. Please try reading the documentation on the Liferay Developer Network, the new site dedicated to Liferay documentation. DISCOVER Build your web site, collaborate with your colleagues, manage your content, and more. DEVELOP Build applications that run inside Liferay, extend the features provided out of the box with Liferay's APIs. DISTRIBUTE Let the world know about your app by publishing it in Liferay's marketplace. PARTICIPATE Become a part of Liferay's community, meet other Liferay users, and get involved in the open source project. 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.