Legacy Knowledge Base
Published Jul. 2, 2025

Home URL of the instance does not work: 404 error

Written By

Jose Jimenez

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • You find errors or warnings related with the default Home URL in the DXP's log file, the trace looks like this:
    2021-08-20 07:55:59.166 WARN [http-nio-8080-exec-8][code_jsp:161] {code="404", msg="The requested resource [/home] is not available", uri=/}
  • In local environments in where the server is launched from the IDE (Liferay Developer Studio) this error can leads to your server to stay in the "Starting..." status until it reaches the Start Timeout, and as result the server is stopped. 

Environment

  • Liferay DXP +7.1 (7.2.10, 7.3.10, 7.4.10)

Resolution

  • Check the default Home URL configuration in Control Panel > Instance Settings > Instance Configuration - General: Home URL and include the complete friendly URL of the page that it is going to be the default URL of the portal instance (including the friendly URL of the web site in where the page is located), for the given example it should be /web/guest/home  and not /home
  • If you are using a local environment, you can start the local server from the TOMCAT/bin/startup.sh script in order to modify this configuration, or increase the Start Timeout in the Runtime configuration for this web server in your IDE. Doing that you should be able to open a browser in http://localhost:8080/ or http://localhost:8080/web/guest and modify the Home URL setting. (it should work because this error is not avoiding you to use the portal via a browser).
Did this article resolve your issue ?

Legacy Knowledge Base