Skip to content

 Threejs and TypeScript
 SocketIO and TypeScript
 Blender Topological Earth
 Sweet Home 3D
 Design Patterns Python
 Design Patterns TypeScript
 Course Coupon Codes
Three.js and TypeScript
Kindle Edition
$9.99 $14.99 Paperback 
$29.99 $34.99

Design Patterns in TypeScript
Kindle Edition
$9.99 $14.99 Paperback
$19.99 $24.99

Design Patterns in Python
Kindle Edition
$9.99 $14.99 Paperback
$19.99 $24.99

Point a Domain Name

Video Lecture

Point a Domain Name Point a Domain Name Point a Domain Name


I have a domain already, and I can add subdomains to it, so I will create a new subdomain for

In my domain name provider, I will create a new A name record called my-project for my main domain that will point to the IP address of the new server.

Note that you will be using a domain name that you manage yourself and not

Give it some time to propagate, and then visit


or perhaps you just pointed your main domain to your IP address, and you can then access your website without the subdomain, e.g.,


If you intend to host multiple projects on your server using domain names on the same port, e.g,, port 80 as shown in this example, then be sure to set the server_name property in your Nginx configuration for your website.

E.g. My updated Nginx my-project.conf,

server {
        listen 80;
        listen [::]:80;

        root /var/www/my-project;
        index index.html;

        location / {
                try_files $uri $uri/ =404;

Check validity, restart and check status

nginx -t
sudo service nginx restart
sudo service nginx status

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

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 my-project line above, is an example of a subdomain A name record as set up in Namecheap advanced DNS tool for the domain being configured.

The ###.###.###.### texts in the image above, will be the IP addresses of the servers that your main or sub domain names should point to.