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…

1 year ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

1 year ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

2 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

2 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

2 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

2 years ago