Current location - Education and Training Encyclopedia - Education and training - How to make a website? What do you need to prepare for website construction?
How to make a website? What do you need to prepare for website construction?
Step 1: Register the domain name.

It is suggested to choose large domestic domain name providers, such as Alibaba Cloud and Tencent Cloud, to purchase domain names.

Step 2: Select the website system.

Different website systems have different functions. For example, if you want to be a mall website, you should choose a mall source program with payment function and order function. If you want to do enterprise website information, you must choose the source code of the enterprise website, and choose the source code of the website according to your own needs.

Step 3: Buy a server/virtual host

Website space, also called virtual host space, is simply the space used to store website content. It can store the documents and materials of the website, including the text, documents, databases, pages and pictures of the website.

The same is true of website space, with different sizes. The bigger the space, the more you can put down the content of the website. The space size of the website is "m", that is, "trillion",1024m =1g.

Step 4: Configure the running environment.

According to the website system you selected in the second step, configure the running environment locally. If you configure the environment locally, you need to configure it according to the configuration tutorial of the website system. You can refer to the official website of the corresponding system for configuration.

Step 5: Resolve the domain name.

After buying the website space, each space will have an ip address, and the domain name needs to be resolved to the corresponding ip address before it can be accessed.

After the domain name resolution is successful, users can enter the domain name on the Internet to open the website.

Step 6: Install the website source code.

Upload the downloaded website program source code to the server/space and start to install the website source code. Official website, the source code of each website, has a carefully installed tutorial, which can be successfully installed after being set up according to the steps. In this way, the construction of a website is completed and the website is ready. This is just a basic website appearance function and so on. If more powerful functions and appearance are needed, it will be improved and developed.

Extended data

A complete website must have three elements: domain name, website space (server) and website program. The domain name is the website address, and the space is used to store the website program files. The website program is a general term for related files and functional files that display the website content.

In the early days, domain names, spatial servers and programs were the basic components of websites. With the continuous progress of science and technology, the composition of websites has become more and more complicated. At present, most websites are composed of domain names, spatial servers, DNS domain name resolution, website programs and databases.

Website construction should also pay attention to the need to be perfectly compatible with all browsing devices and clients, such as PC smart phone and WeChat, and visit the same website, but it will automatically adapt according to different browsing devices (PC, pad, smart phone) and browsers (namely Chrome, Firefox) and different resolutions. You don't need to develop a mobile website or APP separately, and a website will be done.