Novice website building-basic knowledge popularization

The original intention of writing this newbie website is to see that more and more friends want to become independent webmasters, and there are still many questions for friends who have just contacted website construction. Regarding domain names, space, FTP, Terms such as PHP, ASP, and database are still not clear. FunKey is here to make a brief introduction to popularize knowledge. For novices, please fly over quickly. 
This article is just a brief introduction to the knowledge of building a website. It will talk about four aspects, domain name, space, site program, and database.

1. Domain name

The domain name is the URL of the website, such as www.microsoft.com, www.sina.com.cn, etc. Take www.crazycen.com on this site as an example. The domain name is divided into three parts, www is the network name (can be understood as a protocol), ifunkey is the main body of the domain name, and com represents the international domain name. The first step to establish your own independent website is to register your own domain name (of course, you can build a website without your own domain name and you can visit it, this is something later). There are many places to register domain names in China, so I won’t describe them here. Up. At present, the domain name price of com is around 60 yuan/year, while the price of cn is cheap 3 yuan for the first year, and the subsequent renewal fee is about 60 yuan/year.

2. Space

The space used to build a website refers to the hard disk space-the space of your own hard disk or the space of other people's hard disks. 
A server is actually a computer with a chassis, a motherboard, a CPU, a hard disk, and a memory stick. The hardware configuration of the computer as a server is different from that of a home computer. The site program we chose to build the site is stored in the hard disk space of such a server. You pay the server provider, which is the space provider, and he will give you an account password, allowing you to save your files to the hard disk of his server. Here, you will be assigned a second-level domain name so that your site can be accessed. 
I also mentioned your own hard disk space above, yes, that’s right, as long as you have a fixed IP and the XP operating system is installed with IIS, you can store the site programs on your hard disk, and others can use your IP. Visited your site. 
In short, what we call free space or paid space is the hard disk space in the computer, other people's or own.

Three, site procedures

The most common application extension on our computer is exe, which everyone is familiar with, and exe must be run in Microsoft's Windows operating system, and the establishment of a personal site also requires programs, and the extensions of these programs are asp, php , Jsp, cgi, etc., also called scripts. You must choose any space for the script you choose. If the extension is asp, you must select the ASP space. If the extension is php, you must select the PHP space. It is impossible to run scripts stored in a space that only supports php scripts, and vice versa. 
There are many types of site programs, such as blogs, forums, online shops, SNS, CMS, etc. Just figure out what kind of personal site you want to build and find the corresponding program (also called source code).

Fourth, the database

What is a database, literally understood as a warehouse for storing data. Network programs built with scripts such as ASP or PHP are dynamic programs. How can the same page display different content to different users? This requires a database to store visitor information. 
There are many types of databases at present, only three common ones are MSSQL, ACCESS, and MySQL. 
The two databases, MSSQL and ACCESS, are aimed at network programs written in ASP, while MySQL is aimed at network programs written in PHP. This is why the space that supports PHP can not be used to upload ASP files. Be optimistic about your own space type, and then find the corresponding network program.

Finally, the website opens

After registering the domain name, choosing the space, finding the program, and everything is ready, just upload your network program to your space, the domain name resolves to the IP of your space, access your space through the website, and proceed The installation, setting, and independent personal website of the program are all done.

The above is a few steps to establish an independent site, an introductory tutorial, masters don’t laugh. After that, I will use the WordPress blog program as an example to introduce in detail how to build an independent personal site. please wait patiently.

What is a second-level domain name? 
www.baidu.com is Baidu's domain name, so zhidao.baidu.com is Baidu's second-level domain name, similar to image.baidu.com, tieba.baidu.com and the like.


Guess you like

Origin blog.51cto.com/15015155/2555982