当前位置:网站首页>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 )
边栏推荐
猜你喜欢

Virtual honeypot Honeyd installation and deployment

Machine learning deep learning -- Vectorization

Leader: who can use redis expired monitoring to close orders and get out of here!

WPF 使用 MAUI 的自绘制逻辑

多睡觉,能减肥,芝加哥大学最新研究:每天多睡1小时,等于少吃一根炸鸡腿...

Méthode de récupération des données d'ouverture du disque dur à l'état solide

PHP calls map API

Region of Halcon: generation of multiple regions (3)

Heavy broadcast | phase shift method + mathematical principle derivation of multi frequency heterodyne + implementation

What if win11 Bluetooth fails to connect? Solution of win11 Bluetooth unable to connect
随机推荐
There is 404 in the laravel visit, except the home page is redirected; Index php
Introduction to the hardest core PWN in the whole network_ Graphic analysis
大话云原生数据库中的存算分离
What if win11 Bluetooth fails to connect? Solution of win11 Bluetooth unable to connect
How to open the DWG file of the computer
Excel exports data to SQL and pictures to folder through macro | VBA
Abuse unlimited authorization -- is your address safe?
Chapter IX app project test (2) test tools
多睡觉,能减肥,芝加哥大学最新研究:每天多睡1小时,等于少吃一根炸鸡腿...
In Net 6 using dotnet format formatting code
Compatible with Internet Explorer
Opensea PHP development kit
《QDebug 2022年6月》
The solution of wechat applet switchtab unable to take parameters
Redis (17)
为什么SQL语句命中索引比不命中索引要快?
Huawei Hongmeng development lesson 4
固态硬盘开盘数据恢复的方法
parallel recovery slave next change & parallel recovery push change
魔法猪系统重装大师怎么使用