SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
β€’ Open full site

Managing Routes

Learn how to create and manage routes for your applications in the SAP BTP cockpit.

Overview

🎓 intermediate 9 min. SAP BTP CockpitIntermediateSAP Business Technology PlatformSAP BTP Cloud Foundry Environment

You will learn

  • βœ”What a route is
  • βœ”How to create a route
  • βœ”How to map a route to an application
  • βœ”Our recommendations
Dragomir Anachkov D Dragomir Anachkov December 16, 2025
Created by November 20, 2025
Contributors

Prerequisites

Prerequisites

Note: This tutorial is part of a learning journey.

Steps

Step 1 What is a route?
β€”

A route defines the URL through which end users can access your application. Routes belong to a space and are therefore managed at the space level. Although routes are managed within a space, their URLs are unique across all organizations (orgs).

Here’s what the route of our sample application looks like: https://java-demo-app.cfapps.eu11.hana.ondemand.com

Each route consists of a domain, a host name (or subdomain), and an optional path:

  • Domain: In Cloud Foundry, the term “domain” refers to a DNS record. There are private and shared domains. Shared domains are available to users in all ogs. To access a private domain, you need specific permissions. In our example, the domain is cfapps.eu11.hana.ondemand.com.

  • Host Name: The host name is your desired subdomain. In the URL, it’s added before the selected domain. In our example, the host name is java-demo-app.

  • Path: In addition to the domain and subdomain, you can also add a path. The path becomes part of the URL as follows:

    https://<hostname>.<domain>/<path>

    The path acts as the identifier that tells the routing system which content to display when users visit that particular URL. For example, a path like /dashboard takes users to the dashboard page, while /settings/profile directs them to their profile settings.

Note: Routes can have the same domain as long as their host names are different, or their paths are different. You can use this setup to group related apps under one domain (for example, microservices), or share a domain in dev/test environments.

Step 2 Create a route
+
Step 3 Map the route to your application
+
Step 4 Recommendations
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. What is a route? 2. Create a route 3. Map the route to your application 4. Recommendations

Learn more →