Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6912187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:03:37+00:00 2026-05-27T09:03:37+00:00

Once you deployed liferay, how do you change the default home url? Standard is

  • 0

Once you deployed liferay, how do you change the default home url? Standard is that it forwards to the guest community, but I would like to change that url to an organization’s public page home-url.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:03:37+00:00Added an answer on May 27, 2026 at 9:03 am

    I’ve done it by using the “Virtual Hosts” option provided through Liferay. On each community’s settings, you can define a “virtual host” value. If Liferay receives a request coming with a URL that matches a community’s virtual host, that community’s content will be served.

    For example, my Liferay server may be hosted on “my-liferay-server” – but has 3 communities – “guest”, “site1” with a virtual host configured of “site1.example.com“, and “site2” with a virtual host configured of “site2.example.com“. These additional DNS names all point to “my-liferay-server“. As Liferay receives each request, it looks at the requested host name, and forwards to the proper community.

    Note that Liferay only supports one “Virtual Host” value per community – so unfortunately, you can’t have both “site1.example.com” and “site3.example.com” served by the same community by Liferay itself. This can be accomplished, but requires fronting the Liferay instance with something else like an Apache HTTP Server instance, using mod_rewrite rules.

    Additionally, assuming that each community has a page with a URL name of /home, I have the following rewrite rule in such an Apache HTTP Server instance:

    RewriteRule ^/$ /home [PT,L]
    

    This ensures that the root of each virtual host is served by each community’s “home page”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Once again a very beginner-ish question, but here I go: I would like to
I would like to change the value of a ArrayList once a application is
I am working on a project that is click-once deployed from an IIS 7.5
I have a .NET Winform Click-Once-deployed fat client that talks to three databases, 2
Once I have all the files I require in a particular folder, I would
JSF 1.1 and websphere 6.1 was working properly in my case. Once I deployed
I have a problem with my application which happens only once it is deployed
I have a windows forms application that is deployed to two different locations. Intranet
We have an application that has been deployed to 50+ websites. Across these sites
I'm pretty new to this whole deployment thing. I've deployed my app once before

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.