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