O'Reilly logo

Liferay by Gaurav Barot, Sandeep Nair, Robert Chen, Samir Bhatt, Mahipalsinh Rana

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - configuring another portal instance

Let's create a Liferay Neighborhood portal on the same Liferay Portal server:

  1. Locate the host file from your machine and open it in a text editor.

    Tip

    On a Windows machine, first open the Run dialog from the Start menu. Then enter drivers in the Run dialog and press Enter. The system will open Windows Explorer. Now, open the etc folder from the opened explorer. There you will find the host file. On linux, the host file normally exists in the /etc/ directory.

  2. Now in the host file, add the following line at the end of the file and save:
    127.0.0.1 neighborhood.liferay.com
    
  3. In Chapter 4, Tips and Tricks — Advanced Configuration, we have configured the Apache server using the httpd.conf file. Now open ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required