How to create Alias
Publisher: Psychz Networks, July 14,2020Aliases are names given to a setup used to balance the traffic by choosing the different load balancing algorithms such as Round Robin, IP hash, and least connections. You should also mention the Origin IP, Origin Port, Protocol as well as the weight of the mentioned IP.
On top of the Path Mapping page you will find two buttons - Add and Manage Alias.
Click on the "Add" button to add the path mapping. By clicking on this button you can add a new path and map it with the host header. You will have to mention the Front Path, the Host Header, the Alias, and the Protocol. Click on the "Add" button to add the path mapping.
When you click on "Add Alias" you will be directed to a page where you need to fill in the following details
Domain:
From the dropdown menu, select the domain name that you would like to attach to the location feature.
Alias
You can use a name of your choice to add an alias to the domain. 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 different domain.
Load Balancing: Choose one of the Load Balancing methods from the dropdown menu. By default, the system chooses Round Robin.
Following are the options available
Round Robin
When multiple servers are connected in a cluster, the requests are sent sequentially to the servers. A single domain name is assigned to the servers connected to each other. Each of these servers is provided a unique IP address. The DNS has the list of all the IP addresses associated with the domain name. When a request for the domain name is incident on the load balancer, the load balancer sends the request to the cluster of servers in a sequential order.
IP Hash
In this type of load balancing, the IP address is the determining factor of forwarding requests. With the help of an algorithm, the load balancer uses the source and destination IP address to generate a unique hash key. This key is used to establish a unique connection between a client and server. If the user is disconnected, the user can reconnect to the same session on the server using the key. It is generally used when the user needs to connect to the same session after getting disconnected abruptly.
Least Connections
A server handles multiple network connections simultaneously. In this method of load balancing, the load balancer forwards the HTTP request to the server handling the least connections in the cluster. This is determined by taking the computing capacity and load of each server.
Under the Origins section, you will find the following fields. Kindly fill them to create an Alias.
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, 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 failed attempts