|
| 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. |
0 commit comments