Skip to main content

Binding AWS VPS IP Address with Hostinger Subdomain

Bind AWS IP with Hostinger Sub-Domain To bind an AWS IP address to a Hostinger subdomain, you need to update the DNS records of your Hostinger domain to point to the AWS IP address. Here’s a step-by-step guide to achieve this: Step1: Find the AWS IP Address If you have an EC2 instance, you can find the IP address in the AWS Management Console under the "Instances" section. Note the Public IPv4 address. Step2: Access Hostinger DNS Management Log in to your Hostinger account. Go to the "Domains" section and select the domain for which you want to configure the subdomain. Navigate to the "DNS Zone" or "DNS Settings" for that domain. Step3: Create a Subdomain and Point to AWS IP In the DNS settings, create a new A record. Set the "Name" or "Host" field to your subdomain (e.g., subdomain.yourdomain.com ). Set the "Points to" or "Value" field to your AWS IP address. Set the TTL (Time to Live) to the default value...

Binding AWS VPS IP Address with Hostinger Subdomain

Bind AWS IP with Hostinger Sub-Domain
Bind AWS IP with Hostinger Sub-Domain

To bind an AWS IP address to a Hostinger subdomain, you need to update the DNS records of your Hostinger domain to point to the AWS IP address. Here’s a step-by-step guide to achieve this:

Step1: Find the AWS IP Address

If you have an EC2 instance, you can find the IP address in the AWS Management Console under the "Instances" section. Note the Public IPv4 address.

Step2: Access Hostinger DNS Management

  • Log in to your Hostinger account.
  • Go to the "Domains" section and select the domain for which you want to configure the subdomain.
  • Navigate to the "DNS Zone" or "DNS Settings" for that domain.
  • Step3: Create a Subdomain and Point to AWS IP

  • In the DNS settings, create a new A record.
  • Set the "Name" or "Host" field to your subdomain (e.g., subdomain.yourdomain.com).
  • Set the "Points to" or "Value" field to your AWS IP address.
  • Set the TTL (Time to Live) to the default value (e.g., 14400 seconds or 4 hours).
  • Step4: Save Changes

    Save the DNS record. It may take some time (usually up to 24-48 hours) for DNS changes to propagate.

    Here’s an example of what the DNS record might look like:

    Type                Name          Value                TTL
    A                subdomain            AWS_IP_ADDRESS                14400

    Example:

    If your subdomain is api.yourdomain.com and your AWS IP address is 3.123.456.78, the A record will be:

    Type                  Name                        Value                              TTL
    A                  api.yourdomain.com                          3.123.456.78                              14400

    Additional Configuration

    If you also want to use HTTPS for your subdomain, you'll need to set up an SSL certificate. You can use services like Let's Encrypt or AWS Certificate Manager for free SSL certificates.

    Testing

    Once the DNS changes have propagated, you can test the setup by accessing your subdomain in a web browser. It should point to your AWS server.

    Let us know in the comments if you need further assistance!

    Comments

    Popular posts from this blog

    ASIC - Adsense1 or Adsense2 Error (Solved)

    Whenever one tries to save the HTML Template of Blogger, some error appears in the left bottom corner. One of these errors is "The widget settings in widget with id <b>AdSense1</b> is not valid. An internal error occurred. Please try again." or  "The widget settings in widget with id <b>AdSense2</b> is not valid. An internal error occurred. Please try again." . Here is a simplest solution to the problem. Follow the below given steps to resolve this problem. 1. Click on the Jump to Widget button as shown in the picture 1. You will see list of all active widgets here. 2. Select the widget Adsense1 or Adsense2 according to your error message. The code for Adsense1 or Adsense2 as per your selection will appear as shown in selected code in picture 2. 3. Add following code in the place as below. BLACK color code is the Actual Code just copied for your infomation. Code in RED color is the code which you will add in the beginning and ending.      ...

    ASIC - Change GRUB 2 Boot Order (solved)

     I was using Windows 10 Pro on my Dell Latitude 3340 Laptop but due to some work requirement I needed to install Ubuntu 22.04, details to is available in my earlier blog-post " Dual Boot Windows and Ubuntu (Solved) ". After the installation, the default OS in boot menu displayed by GRUB 2 is Ubuntu which sometimes irritates as most of my work is being handled in the Windows environment, moreover, i wanted to change the delay time from 30 seconds to 10 seconds in order to avoid further unnecessary delay. So, as usual, i went across the google and watched multiple videos and blogs in order to see the correct method of solving my problem. The easiest and the ultimate way of changing the boot order in GRUB 2 is presented below: 1. You will need "grub-customizer" for the subject task. Note: grub-customizer is not available in the distribution packages and cannot be installed with simple "sudo apt install grub-customizer" command at terminal. The package is av...

    ASIC - Satisfied Life is Better

    You must have heard or read it somewhere that "a satisfied life is better than a successful life", but is it really true? Let's have a small debate on the topic because I would love to register my opinion on this quotation, and I would love to see your opinion in the comments section. In order to be able debate, we first need to define the two buzz words, "Satisfied" and "Successful". What make us satisfied? In my opinion, achieving the desired goals makes your life satisfied but the definition of satisfaction might differ for every other person. Satisfaction for someone might be living with their children, living healthy life and so on and so forth. Wait a minute... What is success then? Isn't it the same or at least similar? I define success as achieving your goal. Isn't it so? Successful, Contented or Satisfied Life I would rather compare contented life with successful life, because being contented is being happy in whatever you already have...