How to make a website by myself, not using website builder, such as wix.com ? I will teach you here, step by step.
A domain is categorized to ccTLD & gTLD mainly, what are them ?
(.com) is the most common extension
(.xyz) is cheap but not good enough for brand.
If you are a noob to website, domain and servers, I recommend you use a share hosting, you do not have to install the server yourself, but it has most of the necessary functions, as SQL, FTP....
Choose a share hosting here >>>
Just have your codes ready on your notepad, upload to the share hosting by ftp, or admin panel once the code is ready. But also you can do editing on the admin panel.
Nameservers = NS
Go to your domain name's registrar, such as Godaddy.com, Aliyun.com...
Go to the page of management of your domain name.
You have two ways to do it: ( choose 3.1 or 3.2 )
Just simply mange your domain's record on your registrar site. The simplest way for beginner.
You can use other NS services provide public in the Internet.
Such as Cloudflare ( free and has advanced function ).
A records - ( A ) :
It point "a host of your name" to a IPv4 address.
A host of your name = chiuyau.com / x.chiuyau.com / abc.chiuyau.com
these are all host of my name, ceteris paribus.
Therefore, when people visit your host, they are all pointed to a IPv4 address ( the server address )
CNAME records - ( CNAME ) :
It is the concept of alias, it can replicate an A record.
It point "a host of your name" to another "host"
The following are some examples for you.
Record type Name Content TTL
1| CNAME xxx chiuyau.com (@) 3600
2| CNAME www chiuyau.com (@) 3600
3| CNAME blog api.gtihub.com 3600
4| A abc 22.214.171.124 (IPv4) 3600
5| A hi 126.96.36.199 (IPv4) 3600
The meanings of above records:
1: xxx.chiuyau.com has the same IP( both v4 & v6) as chiuyau.com
2: www.chiuyau.com has the same IP( both v4 & v6) as chiuyau.com, finally www.chiuyau.com = chiuyau.com, they show the same page.
3: blog.chiuyau.com has the address of api.github.com, both IPv4/v6, but you cannot fill a IP in CNAME's content.
4: abc.chiuyau.com points to 188.8.131.52 ( server address )
5: hi.chiuyau.com points to 184.108.40.206 ( server address )
When you set up, the above chiuyau.com should change to your domain name, IP address should be your server address.
You can ask me for help, USD5 / one time assistance. ( Pay via netser.com )