Home > Web Front-end > Front-end Q&A > How to make a website tutorial

How to make a website tutorial

angryTom
Release: 2019-08-06 10:41:40
Original
11446 people have browsed it

How to make a website tutorial

 Website refers to a website made on the Internet according to certain rules using tools such as HTML (an application under Standard Universal Markup Language) to display specific content. A collection of related web pages. Simply put, a website is a communication tool through which people can publish information they want to make public, or use the website to provide related network services. People can access the website through a web browser to obtain the information they need or enjoy network services. Below we will introduce you to the detailed process of making a website.

Recommended tutorial: php project practical tutorial

1. First, plan the website.

What kind of website do you want to build, portal type? Enterprise type? Or is it purely personal? What is the website name and domain name (prepare at least three in case it has been registered by others), what language is it created in, what are the keywords (what words can be entered in Baidu to search for your own website), etc. I won’t go into details here, just solve it yourself.

How to make a website tutorial

##2. After these planning issues are resolved, start building the website.

To choose what kind of website to build, first choose a template that you are satisfied with. Friends with basic knowledge can find the source code online and use Dreamwaver (a software for modifying web page files) or Photoshop (a tool for modifying pictures) to modify and arrange it by themselves. For some novice friends, you can choose to buy templates or find DIY templates to build. Use APACHE (a software that builds a language environment and can be tested locally) for local testing. For details, please refer to other videos, and I won’t go into details here. Below is my DIY website interface.

How to make a website tutorial

#3. It is recommended to complete the website first before launching it online, because search engines such as Baidu do not like major structural adjustments to the website after it is launched.

After the website is tested, you can apply for domain name and space. It is more convenient to buy domain names and space from large well-known websites such as Xinwang or Taobao, but pay attention to the stability and reliability of Taobao space. To avoid suspicion of advertising, we will not discuss it. Generally, you register as a member on the domain name website, and then register the domain name. If it is registered, you can change the backup domain name until it is not registered, pay a fee, and use the domain name unit to record it in years. For space, it is recommended to choose virtual space for simple pages such as enterprises, while for forums, group purchases or multiple sites, you can choose vps or more advanced cloud hosts.

How to make a website tutorial

#4. After these applications are completed, fill in the IP, user name, password, port, etc. displayed in the virtual space on flashfxp to upload the website file. Just go to the wwwroot root directory. In some spaces, the root directory may not have this name.

General space has a free second-level domain name. After the upload is successful, paste the second-level domain name in the browser and press Enter. If the result is the same as the local test, it means there is no problem with the website.

How to make a website tutorial

#5. Finally, perform domain name resolution and space binding. Normally there is a time difference in domain name resolution, which takes 24 hours, but now it is faster, about an hour.

How to make a website tutorial

6. After parsing the binding, you can perform local testing, start-run-cmd, ping the URL. The following will appear and it will be normal. Visited. Enter the URL in the address bar to open the website.

How to make a website tutorial

Extended information

Composition of the website

In the early days, domain names, space servers and programs were the basic components of websites. With the continuous advancement of technology, the composition of websites has become increasingly complex. Currently, most websites consist of domain names, space servers, and DNS domain names. It is composed of analysis, website program, database, etc.

domain name

Domain Name is the name of a computer or computer group on the Internet consisting of a string of letters separated by dots. Used to identify the electronic location (sometimes geographical location) of a computer during data transmission, domain names have become one of the essential products for Internet brand and online trademark protection. In layman's terms, a domain name is equivalent to a family's house number. Others can easily find you through this number. Taking a common domain name as an example, the baidu website address is composed of two parts. The label "baidu" is the main body of the domain name, and the last label "com" is the suffix of the domain name, which represents a com international A domain name is a top-level domain name. The www. in front is the network name and is the domain name of www.

DNS stipulates that the labels in domain names are composed of English letters and numbers. Each label cannot exceed 63 characters, and does not distinguish between uppercase and lowercase letters. No other punctuation marks can be used in labels except hyphens (-). The domain name with the lowest level is written on the far left, and the domain name with the highest level is written on the far right.

Space

Common website spaces: virtual host, virtual space, independent server, cloud host, VPS.

A virtual host allocates a certain amount of disk space on the network server for users to place sites, application components, etc.; it provides necessary site functions, data storage and transmission functions. The so-called virtual host, also called "website space", is to divide a server running on the Internet into multiple "virtual" servers. Each virtual host has an independent domain name and complete Internet server (supports WWW, FTP, E-mail, etc.) functions. Virtual hosting is the gospel of network development and has greatly promoted the application and popularization of network technology. At the same time, virtual host rental services have also become a new economic form in the Internet era. Renting a virtual host is similar to renting a house.

VPS refers to virtual private server, which is a technology that partitions a server into multiple virtual independent dedicated servers. Each virtual independent server using VPS technology has its own independent public IP address, operating system, hard disk space, memory space, CPU resources, etc. It can also perform operations such as installing programs and restarting the server, which is exactly the same as running an independent server. .

Program source code

The program is the programming language used to build and modify the website. If replaced by the source code, it is A bunch of words and symbols written in a certain format.

"For example, right-click on this webpage and select View Source File. A notepad will appear. The content inside is the source code of this webpage." This sentence reflects their Relationship, the source file here refers to the source code of the web page, and the source code is the content of the source file, so it can also be called the source code of the web page.

Source code refers to the original code, which can be any language code.

Assembly code refers to the compiled source code, usually binary files, such as DLL, EXE, .NET intermediate code, JAVA intermediate code, etc.

High-level languages ​​usually refer to C/C, BASIC, C#, JAVA, PASCAL, etc. Assembly language is ASM, the only one, and the lower level than this is machine language.

The browser is like the compiler of the program. It will help us translate the source code into what we see.

The above is the detailed content of How to make a website tutorial. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template