Create Location
Publisher: Psychz Networks, September 07,2020CDN Locations offer you control over CDN features by providing granular control to extensions. For each request, the process has to choose the best location that will be used to serve that request. This is done by comparing the request URL against each location that has been set up in the configuration.
Access Locations page by following the path below CDN Main Page > Manage Domain > Basic Settings > Locations
Following are the information that you need to provide
Location
Domain
From the dropdown menu, select the domain name that you would like to attach to the location feature.
Origin Protocol (HTTP/HTTPS)
The proxy protocol is an internet protocol used to carry connection information from the source requesting the connection to the destination for which the connection was requested. You can choose between HTTP and HTTPS depending on your requirement.
IP/CNAME
Choose between IP address or CNAME that you would like to provide.
Proxy IP / CNAME
A proxy lets you go online under a different IP address/CNAME identity. You can either use the IP address or CNAME under this configuration depending on the type of choice you make in the previous step.
Front Path
Specify the front path that you would like the user to access
Note: If you want to add a front_path or a location that applies to all the resources under a particular directory, please ensure that your front_path or your location ends with a ' / '.
Origin Path
Specify the root path of your domain to attach to the location feature
Domain - www.your-domain.com
Origin ip - 12.34.56.78
Front Path - /front_path/
Origin Path - /origin_path/
Origin URL as used by the CDN internally - http://12.34.56.78/origin_path/
Origin URL for customer to check resource - http://12.34.56.78/origin_path/front_path/
This is how the CDN will fetch /front_path/ from http://12.34.56.78/origin_path/
Important: You must ensure that the /front_path/ is located under /origin_path/ at your origin ip (12.34.56.78)
Host Header
You can set up the Host Header specifically for the chosen path. With the help of host headers, the webserver is able to identify the traffic and send it to the right path.
Note: On selection of domain, by default host header will be selected domain name, you can modify it!
Path Mapping (Does not appear in case of CNAME)
Alias
You can choose between different aliases or create a new one. Please click on the "Create Alias" to create a new one.
Using an Alias allows you to create a generic subdomain such as 'test.yourdomain.com'. So, this allows you to create additional domain names that would point to a different domain.
Origins (Does not appear in case of CNAME)
Load Balancing
Choose one of the Load Balancing methods from the dropdown menu. By default, the system chooses IP hash.
Origin IP/ CNAME
This is the origin IP address of the domain You can either use the IP address or CNAME under this configuration.
Origin Port
Here you need to add the port address of the domain you wish to add the Alias.
Weight
Enter 2 digit numeric value less than or equal to 10. The weight number is used to determine which Origin IP/CNAME should be served first. The higher the number, the greater the priority.
Note: Default weight restriction is 10 or below.
Fail Timeout
Time frame in seconds before the connect declares as a failed attempt.
Max Fails
Maximum number of allowed failed attempts.