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.
##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.
#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.
#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.
#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.
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.
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!

HTML and React can be seamlessly integrated through JSX to build an efficient user interface. 1) Embed HTML elements using JSX, 2) Optimize rendering performance using virtual DOM, 3) Manage and render HTML structures through componentization. This integration method is not only intuitive, but also improves application performance.

React efficiently renders data through state and props, and handles user events through the synthesis event system. 1) Use useState to manage state, such as the counter example. 2) Event processing is implemented by adding functions in JSX, such as button clicks. 3) The key attribute is required to render the list, such as the TodoList component. 4) For form processing, useState and e.preventDefault(), such as Form components.

React interacts with the server through HTTP requests to obtain, send, update and delete data. 1) User operation triggers events, 2) Initiate HTTP requests, 3) Process server responses, 4) Update component status and re-render.

React is a JavaScript library for building user interfaces that improves efficiency through component development and virtual DOM. 1. Components and JSX: Use JSX syntax to define components to enhance code intuitiveness and quality. 2. Virtual DOM and Rendering: Optimize rendering performance through virtual DOM and diff algorithms. 3. State management and Hooks: Hooks such as useState and useEffect simplify state management and side effects handling. 4. Example of usage: From basic forms to advanced global state management, use the ContextAPI. 5. Common errors and debugging: Avoid improper state management and component update problems, and use ReactDevTools to debug. 6. Performance optimization and optimality

Reactisafrontendlibrary,focusedonbuildinguserinterfaces.ItmanagesUIstateandupdatesefficientlyusingavirtualDOM,andinteractswithbackendservicesviaAPIsfordatahandling,butdoesnotprocessorstoredataitself.

React can be embedded in HTML to enhance or completely rewrite traditional HTML pages. 1) The basic steps to using React include adding a root div in HTML and rendering the React component via ReactDOM.render(). 2) More advanced applications include using useState to manage state and implement complex UI interactions such as counters and to-do lists. 3) Optimization and best practices include code segmentation, lazy loading and using React.memo and useMemo to improve performance. Through these methods, developers can leverage the power of React to build dynamic and responsive user interfaces.

React is a JavaScript library for building modern front-end applications. 1. It uses componentized and virtual DOM to optimize performance. 2. Components use JSX to define, state and attributes to manage data. 3. Hooks simplify life cycle management. 4. Use ContextAPI to manage global status. 5. Common errors require debugging status updates and life cycles. 6. Optimization techniques include Memoization, code splitting and virtual scrolling.

React's future will focus on the ultimate in component development, performance optimization and deep integration with other technology stacks. 1) React will further simplify the creation and management of components and promote the ultimate in component development. 2) Performance optimization will become the focus, especially in large applications. 3) React will be deeply integrated with technologies such as GraphQL and TypeScript to improve the development experience.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version
Useful JavaScript development tools

Atom editor mac version download
The most popular open source editor

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software