Home URL of the instance does not work: 404 error
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
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 ?