Skip to content

Commit bb5a29c

Browse files
authored
Merge pull request #164 from ESA-APEx/custom_domain
guides > custom domain: added guide
2 parents 5f7d3d6 + 21fa62b commit bb5a29c

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

_quarto.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ website:
8888
text: File format recommendations
8989
- section: User Guides
9090
contents:
91+
- href: guides/custom_domain.md
92+
text: Custom domains for your project environment
9193
- href: guides/geospatial_explorer/index.qmd
9294
contents:
9395
- auto: guides/geospatial_explorer/tutorials/*.qmd

guides/custom_domain.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: Custom domains for your project environment
3+
---
4+
5+
When you create a project environment in APEx, it is assigned a default domain name that typically looks like
6+
`<tool>.<project-name>.apex.esa.int`, for example: [https://browser.demo.apex.esa.int](https://browser.demo.apex.esa.int).
7+
While this default domain is functional, you might want to use a more personalized domain name that reflects your
8+
project's branding or is easier to remember.
9+
10+
This guide will walk you through the steps to set up a custom domain for your APEx project environment.
11+
12+
## Prerequisites
13+
14+
Before you begin, ensure the following are in place:
15+
16+
- Access to your domain's DNS management settings. This is typically done through your domain registrar or hosting provider.
17+
- Permission to manage DNS records in your DNS settings.
18+
- Coordination with APEx operations to request custom-domain activation.
19+
20+
## Steps to Set Up a Custom Domain
21+
22+
:::{.callout-important title="Coordinate with APEx Operations"}
23+
Using custom domains requires coordination with the APEx operations team to ensure proper configuration and security.
24+
Please reach out to them early in the process to avoid delays and ensure a smooth setup.
25+
:::
26+
27+
1. **Choose Your Custom Domain**\
28+
Decide on the custom domain name you want to use for your project environment. It could be a subdomain of your
29+
existing domain (e.g., `project.yourdomain.com`) or a completely new domain.
30+
2. **Lower the TTL**\
31+
Before making DNS changes, it's advisable to lower the Time To Live (TTL) value for your DNS records. This ensures
32+
that changes propagate more quickly. A TTL of 10 seconds is recommended.
33+
3. **Create a `A` Record**\
34+
In your DNS management settings, create an `A` record that points your chosen custom domain to the APEx ingress IP
35+
address. You can find the current ingress IP address by contacting the APEx operations team.
36+
- **Type**:`A`
37+
- **Name**: Your chosen subdomain (e.g., `project` if your full domain is `project.yourdomain.com`)
38+
- **Value**: APEx ingress IP address (obtain from APEx operations)
39+
- **TTL**: 300 seconds (or your preferred value)
40+
4. **Request Custom Domain Activation**\
41+
After setting up the DNS record, contact the APEx operations team to request the activation of your custom domain.
42+
Provide them with the following information:
43+
- Your project name
44+
- The tool/environment you want to associate with the custom domain
45+
- The custom domain name you have set up
46+
5. **Wait for Confirmation**\
47+
The APEx operations team will verify the DNS settings and activate the custom domain for your project environment.
48+
This process may take some time, so please be patient.
49+
6. **Test Your Custom Domain**\
50+
Once you receive confirmation from the APEx operations team, test your custom domain by navigating to it in your web
51+
browser. Ensure that it correctly points to your project environment.
52+
7. **Increase the TTL**\
53+
After confirming that your custom domain is working correctly, you may want to increase the TTL value for your DNS records
54+
to a longer duration (e.g., 3600 seconds or more) to reduce DNS query load.

instantiation/accessibility.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ to manage and access. Additionally, as these URLs are publicly accessible, proje
1818
into their existing websites by linking to them directly.
1919

2020
In addition to the default URLs provided during component instantiation, APEx also supports the use of custom domains owned
21-
by the requesting project. Configuring custom domains requires additional setup, which is handled upon request.
21+
by the requesting project. Configuring custom domains requires additional setup, which is handled upon request. More information
22+
can be found in the [Custom domains for your project environment](../guides/custom_domain.md) guide.

0 commit comments

Comments
 (0)