Categories: Development

Adding subdomain to an ip address

Here is how to point a subdomain to an ip address using an A record in  your DNS manager.

A subdomain is a part of your main domain…. lets say i own domain.com a subdomain of this could be blog.domain.com or shop.domain.com Its what comes before your main domain.

To connect a subdomin to an ip adress and vice versa go into your DNS management for your domain name. This could be at Namesilo, Namecheap, Godaddy (avoid) etc etc.

Subdomain to ip address

You want to add an A record,  choose what your subdomain will be and the ip address. Dont worry about TTL at this stage. Submit it and it will take anywhere from 1 to 15 minutes to be live.

Now when you navigate to the sub domain it will be associated with the ip address you used.

Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

2 years ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

2 years ago

Early September spring shots

Some early September spring shots from a bushwalk, It is still too early for wildflowers.

3 years ago

Cloning an NVMe to SK Hynix Platinum P41 NVMe

I recently needed to clone over a smaller NVMe to a 2TB SK Hynix Platinum…

3 years ago

Using Laravel’s deleteDirectory to delete folders and their contents

If you ever needed a simple solution in Laravel to delete an entire directory and…

3 years ago

How to allow only 1 user to register in a Laravel application

How to enforce only one user to register or be registered in a Laravel web…

3 years ago