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.      ...

    5 Things You Need to Know About AI: Debunking the Myths

    Artificial Intelligence: Unveiling the Truth AI is thought to be dominating and job-stealing globally, but are these the exaggerations or the reality? Is there any truth behind it? In this blog post, we'll discuss the facts about AI and try to unfold the facts about AI. The Origins and Applications of AI AI isn't new and we can track it back to 1940's where the artificial neural networks operated as the employees interconnected and learning how to manage the problems in given time. But now, there is an extesive role of AI from suggesting the movies, music, to every aspects of life. AI is continously growing, generating and gathering the productive data over the human responses.  The Limits of AI This is the fact that the AI can not actually experience or think. Even the AI based chatbot like Chat GPT is a complex algorithum facility that can analyze the general communication patterns. Despite the fact that these chatbots can provide resonable answers, they lack true underst...

    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...