Book Image

Liferay Beginner's Guide

Book Image

Liferay Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
PayPal Test Account Configuration
Index

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 the same httpd.conf file in a text editor.

    Tip

    We can locate the httpd.conf file in the conf directory of the Apache web server installation root directory.

  4. Remove the following lines added in Chapter 4, Tips and Tricks—Advanced Configuration , with the...