Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Liferay Beginner's Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)
close
close
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)

Overview of this book

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

Time for action – changing our portal name


We will be using Apache, which is most widely used as a web server to act as a proxy server to redirect all the requests it receives to the Liferay server behind it. The steps for this are as follows:

  1. Download and install the latest version of Apache. This would start Apache as a service.

  2. Navigate to conf folder inside Apache, which has a file called httpd.conf.

  3. Open the file and uncomment the following line:

    LoadModule proxy_module modules/mod_proxy.so
  4. Add the following lines at the end of the file, and then save the same:

    ProxyRequests On
    
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
  5. Restart the server.

  6. We need to add a DNS entry for setting up a virtual host, so for the moment we will just add the host entry. Open the hosts file in C:\WINDOWS\system32\drivers\etc and add an entry as follows:

    127.0.0.1 neighborhood.cignex.com

What just happened?

Open your browser and hit http://neighborhood.cignex.com. You should be able to...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY