Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Liferay Beginner's Guide

You're reading from   Liferay Beginner's Guide Quick and easy techniques to build, deploy, and maintain your own Liferay portal with this book and ebook

Arrow left icon
Product type Paperback
Published in Dec 2011
Publisher
ISBN-13 9781849517003
Length 396 pages
Edition Edition
Languages
Arrow right icon
Toc

Table of Contents (19) Chapters Close

Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Planning Your Portal FREE CHAPTER 2. Installing a Liferay Portal Instance 3. Understanding Portal Basics and Theming 4. Tips and Tricks-Advanced Configuration 5. Building your First Liferay Site 6. Managing Pages, Users, and Permissions 7. Creating and Publishing Content 8. Exploring Communities 9. Setting up an Online Shop 10. Liferay Server Administration PayPal Test Account Configuration
Pop Quiz Answers Index

Time for action – virtual host configuration


Let's configure virtual hosting for the Games and Sports community.

  1. Locate host file from your machine and open it in a text editor. It is the same host file which we edited in an earlier section.

  2. Now in the host file, add the following line at the end of the file and save:

     127.0.0.1 sports.cignexneighbourhood.com
  3. Again, we need to configure Apache configuration for new settings. So please open the httpd.conf file in a text editor. This is the same file which we edited in the previous section.

  4. At the end of the file, add the following lines of code:

     <VirtualHost *:80>
       ProxyPreserveHost On
       ProxyPass / http://localhost:8080/
       ProxyPassReverse / http://localhost:8080/
       ServerName sports.cignexneighbourhood.com
     </VirtualHost>
    
  5. Stop the Apache web server and start again.

  6. Start the Tomcat server, if it is stopped.

  7. Sign in to the Neighborhood portal using the admin credentials (URL: http:// neighborhood.cignex.com / User Name / Password...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image