当前位置:网站首页>Basic knowledge of web pages (URL related)
Basic knowledge of web pages (URL related)
2022-06-25 04:55:00 【Two kings lead two teams】
url form : agreement // website / Virtual directory / file name # anchor
The partial :http://、https://( You do not need to enter... When entering the web address , Web pages will be automatically added )
website :www.baidu.com.
domain name :baidu.com
Top-level domain name : Institutions 、 Country
.com: business organization
.org: Non profit organizations
.gov: government organs
.edu: Educational and research institutions
.cn: China
.us: The United States
Two level domain name : Branches and formula products sometimes use secondary domain names
Such as :mail.qq.com
Static website :
1. After the content is published on the website, it is saved on the website , The content of the document is fixed
2. The content is relatively stable and easy to search
3. No database support ( Heavy production and maintenance workload )
4. Poor interactivity
Dynamic website :
1. Interactivity , Web pages will dynamically change and respond to users' needs .
2. Auto update , Save work
3. Change with people , Different time , Different users have different access contents
The relationship between dynamic websites and static websites is mutually exclusive , Dynamic website to asp,jsp,php,perl,cgi In the form of , instead of html etc.
The basic concept of the website :
The server : Devices that provide computing services (server) Including documents 、 database 、 Applications ,web etc. , The function of the server depends on the service software installed on the computer :Apache、tomcat、iis etc.
ip Domain name :
ip The address is unique , The function of domain name is to replace ip Address
DNS( The domain name system ): And ip Domain name mapping , Resolving domain names makes it easier for users to find the Internet
port (port): Virtual and physical ports
The outlet for communication between equipment and the outside world , The virtual port is inside the computer or inside the switch router , invisible
Physical ports are interfaces .
Access Process :
User input ->DNS-> Server computer -> Virtual ports ( Server software )
Static web address :
Personal computer : browser ( Connected to the Internet ) Server computer : Apache, Folder : Many web pages
Input url dns( Local ip The Internet ip) : The Internet ip To local computer Find the server computer , adopt 80 Port find service software apache
http//localhost:80/index.html Indicates the relative directory of the file ; apache Return the results to the browser , Browser parsing
Dynamic website :
http://localhost:80/index.php
mysql database ( Command line operations )
Access requires searching 、 matching 、 Connection authentication .
The host address :-hlocalhost( It saves )
port :-P3306( It saves )
authentication : Enter the server through user name and password ( Don't omit )
user name :-uroot
password :-proot
namely :mysql -hlocalhost -P3306 -uroot -proot
Virtual host :
Name the folders on your computer differently , Then the implementation allows the server to change from different folders according to the needs of users ( Website ) Read different contents in
classification :
1、 be based on ip Virtual host of address , There are multiple on one computer ip, Every ip Corresponding to a website .
principle : There is only one computer by default ip, Because there is usually only one network card : But some computers ( Most servers ) You can configure multiple ip Address
2、 Domain based virtual host , There is only one computer ip, however IP You can create multiple websites , But give each site a different name ( Virtual host name )
边栏推荐
- XML (VIII)
- My IC journey - the growth of senior chip design verification engineers - "Hu" said that IC engineers are perfect and advanced
- 【FLink】access closed classloader classloader.check-leaked-classloader
- Web3 DAPP user experience best practices
- Write shell script error summary
- win11蓝牙无法连接怎么办?win11蓝牙无法连接的解决方法
- Sleep more, you can lose weight. According to the latest research from the University of Chicago, sleeping more than 1 hour a day is equivalent to eating less than one fried chicken leg
- Why is the TCP handshake just 3 times?
- TX Text Control 30.0 ActiveX
- 小白一键重装官网下载使用方法
猜你喜欢

"Daily practice, happy water" 1108 IP address invalidation

CTF_ Web: Changan cup-2021 old but a little new & asuka

ASEMI三相整流桥的工作原理

Two hours to take you into the software testing industry (with a full set of software testing learning routes)

API interface management setup -eolinker4.0

How do the defi protocols perform under this round of stress test?

How to use the Magic pig system reinstallation master

执行SQL响应比较慢,你有哪些排查思路?

Vscade setting clang format

为什么SQL语句命中索引比不命中索引要快?
随机推荐
ThinkPHP 5 log management
Laravel Aurora push
Chapter IX app project test (2) test tools
What is Ethernet and how to connect the computer
哪个编程语言实现hello world最烦琐?
Wechat applet new version prompt update
TX Text Control 30.0 ActiveX
Fun CMD command line~
buuctf web
「 每日一练,快乐水题 」1108. IP 地址无效化
Introduction to the hardest core PWN in the whole network_ Graphic analysis
ROS2/DDS/QoS/主题的记录
Leader: who can use redis expired monitoring to close orders and get out of here!
ASEMI三相整流桥的工作原理
Teach you to write non maintainable PHP code step by step
TeeChart Pro ActiveX 2022.1
MySQL concept and operation (III)
WPF 使用 MAUI 的自绘制逻辑
Méthode de récupération des données d'ouverture du disque dur à l'état solide
Upgrade PHP to php7 The impact of X (I). The problem of session retention. Keep login