Time for action – configuring another portal instance
Let's create a Liferay Neighborhood portal on the same Liferay Portal server:
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 thehost
file. On linux, the host file normally exists in the/etc/
directory.Now in the host file, add the following line at the end of the file and save:
127.0.0.1 neighborhood.liferay.com
In Chapter 4, Tips and Tricks—Advanced Configuration, we have configured the Apache server using the
httpd.conf
file. Now open the samehttpd.conf
file in a text editor.Tip
We can locate the
httpd.conf
file in theconf
directory of the Apache web server installation root directory.Remove the following lines added in Chapter 4, Tips and Tricks—Advanced Configuration , with the...