Skip to content

Point a Domain Name

Video Lecture

Point a Domain Name Point a Domain Name

Description

I have a domain already, and I can add subdomains to it, so I will create a new subdomain, socketio-example.sbcode.net

In my domain name provider, I will create a new A name record called socketio-example for my main domain sbcode.net that points to the IP address of the new server.

Note that you will be using a domain name that you manage and not sbcode.net.

Give it some time to propagate, and then visit,

http://socketio-example.your-domain.tld

or you could also just point your main domain to your servers IP address, and you can then access your example without the subdomain, e.g.,

http://your-domain.tld

Purchasing A Domain

If you don't have a domain name, and your colleagues can't lend you one or create a subdomain for you, then you can get cheap domains from Namecheap

Use the domain name search tool and try anything.

Namecheap also has an advanced DNS config tool which allows you to create subdomains. The @ symbol in the image below is an alias for the main domain that is being managed.

Namecheap Advanced DNS

The minigames line above in the sample image, is an example of a subdomain A name record that was set up in Namecheap advanced DNS tool for the main domain (alias @) that is being configured.

The blurred out text in the image above, will be the IP address of your server that your main or subdomain name should point to.