01 February, 2012

Virtual Hosting

Follow the below steps to make virtual hosting :
  • Download and install the latest version of Apache. This would start Apache as
    a service.
  • Navigate to conf folder inside Apache, which has a file called httpd.conf.
  • Open the file and uncomment the following line:   LoadModule proxy_module modules/mod_proxy.so
  •  
  • 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/
  • Restart the server.
  • 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 liferaysolution.com
After This server setting

1) you can go to Liferay control panel then select any particular community
2) Go to manage pages and select setting tab
3) you can set your domain name as a public pages virtual host URL

You are done !!!!

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...