Initial configuration
Last updated
Last updated
After activating our user account, you will be able to access the Transparent Edge panel through the URL https://dashboard.transparentcdn.com/ using your username (registered email) and password defined during the registration process.
The backend must first be defined. +This is the external server (host) where the website that we are configuring on the auto-provisioning platform is currently hosted. At CDN level, the backend is your origin.
The following data are required for the correct configuration of the backend:
You must provide a descriptive name for the backend.
This name will be used in the different VCL (Varnish Configuration Language) configurations indicated later. It is preceded by the prefix c[company_id]_
, where [company_id]
is your unique user identifier in the Transparent Edge Services auto-provisioning platform.
For example, a backend name could be: cNNN_example
.
This is the public IP of the external server where the website is currently hosted.
If you have a domain name for that server, it can also be used instead of its IP. The only restriction is that the domain name for the origin cannot be the same as the one used later in the website configuration.
For example, an origin domain name could be: source.example.com.
This checkbox is ticked to indicate that communications with the backend must be encrypted.
This complements the previously established origin IP or domain name.
It is the port through which the connection to the origin will be established.
Generally, if the connection is unencrypted, the HTTP (Hypertext Transfer Protocol) will be used, the standard port of which is 80. However, if an encrypted connection is required, HTTPS (HTTP Secure) will be required, the standard port of which is 443.
A health check must be configured to monitor the backend status. The following variables are required for this purpose:
Header of the host associated with the health check.
This is an optional field, so it can be left blank or it can contain any value accepted by the origin server.
For example, a valid associated host header could be: health_check.example.com.
This is the URL that the health check will verify.
For example, a valid verification URL could be: /verify.
Expected status code for the health check verification.
For example, a status code for the health check verification could be 200; this is the most common (status code: OK), although there is no restriction on this. For instance, a response code 301 (status code: MOVED PERMANENTLY) is also possible.
After completing the data related with the backend configuration, the website to be associated with that backend must be registered. This is done in the next step by clicking on "Add site".
Let's see this with an example domain: www.example.com
.
To ensure the indicated website belongs to us, we will be asked to place a file named tcdn.txt
in the root directory of the website with a specific content (the verification code), so that a request of the type http://www.example.es/tcdn.txt
returns the text previously provided.
Alternatively, we can create a TXT record with the name "_tcdn_challenge
" and the verification code content.
If you encounter any problems or doubts in this regard, you can contact Transparent Edge via email at soporte@transparentedge.eu.
Once the information regarding both the backend and the domain (site) has been completed in the configuration wizard, an excerpt with the generated VCL (Varnish Configuration Language) configuration will be displayed.
VCL (Varnish Configuration Language) is simply a script language used to configure and add logic to the Varnish cache.
For example, the backend and site values previously referred to would result in the following VCL configuration:
As can be seen, this is just an initial configuration that links the backend cNNN_example
with the site www.example.es
. This allows the CDN to retrieve non-cached resources (MISS).
You can end the wizard here and complete the VCL configuration later.
Finally, the configuration wizard will inform you of the modifications you will need to make in the DNS settings to point to the domain previously indicated in the CNAME (Canonical NAME) record of Transparent Edge.
For example, our assigned CNAME record would be: caching.cNNN.edge2befaster.net.
You can find this CNAME record in both the activation email and at the top of the Auto-provisioning panel.