A Web site with several or n pages, they are identified with the URL, we do site optimization, nothing more than to make these URLs as far as possible to get a better ranking, did the optimization of the people know that the URL structure on the site optimization is also influential, then the child domain name and subdirectory which is more suitable for optimization? Now let's look at the pros and cons of the domain name and subdirectory:
The difference between a child domain name and a subdire
node. that is to say, the domain name is the name of the top node in the domain. for example, the top of the zhuhai.gd.cn domain is a node named zhuhai.gd.cn. in DNS, each domain is managed by a different organization. each organization can divide its domains into a certain number of subdomains and delegate these subdomains to other organizations for management. the domain can include both the host and other domains (its subdomains ). the domain name is used as an index in the DNS database. any
How does the https://www.dnspod.cn Add a record? 1. Under what circumstances will a record be used?
[If you want to direct a domain name to an IP address, you need to add a record]
2. How to add a recordA. enter a subdomain name in the Host record (for example, to add www.123.com resolution, you only need to enter WWW in the Host record. If you only want to add 123.com resolution, leave the Host record blank, the system will automatically enter "@" i
that there is no PTR record in the forward parsing, and the A, MX, and CNAME records are not required in the reverse parsing library.Create a subdomainHere we still take the parent domain (192.168.2.18) as the primary DNS server from the DNS server as the subdomain server (192.168.2.29)We create a subdomain zone file in the Subdomain server edit/etc/named.rfc191
Flask Sub Domain
Generally used for a small number of sub-domain names, a module corresponding to a subdomain. Let's take a look at the following example:
modules.py:
From flask Import blueprintpublic = Blueprint (' public ', __name__) @public. Route ('/') def Home (): return ' Hello ' Flask ' App.py:app = Flask (__name__) app.config[' server_name '] = ' example.com ' from modules import Publicapp.register_ Blueprint (Public,
The role of a wildcard (wildcard)
DNS wildcard domain name resolution can also be understood as a resolution record with wildcard characters. a dns record with wildcard characters is used to provide resolution request response methods for non-existent subdomains. For example, a domain example.com exists. If we set the wildcard record * .example.com, all subdomains that do not exist in the example.com domain, for example, abcd.example.com and efgh.example.com all point to example.com. During the
A good site, should be good use of their own site resources. Choose to use a subdomain or a directory to reasonably distribute their site content, the site in search engines have very good help, good use will be the weight of the site to improve the use of bad will have an impact on the site, so say to make good use of their own site do not abuse the subdomain and directory. Now Baidu has for independent su
divide its domains into a certain number of subdomains and delegate these subdomains to other organizations for management. the domain can include both the host and other domains (its subdomains ). the domain name is used as an index in the DNS database. any domain name in the subdomain is considered as part of the domain.
In fact, the host is a domain, and the domain name is only an index in the DNS database. "host" can be indexed by the Domain N
Subdomain AuthorizationSubdomain Authorization: The name server of each domain is authorized by its superior name server in the parsing library;Similar to the root domain authorized TLD:. com. In NS ns1.com.. com. In NS ns2.com.Ns1.com. In A 2.2.2.1Ns2.com. In A 2.2.2.2Xmdb.com. On the. COM name server, add a resource record to the resolution library:Xmdb.com. In NS ns1.xmdb.com.Xmdb.com. In NS ns2.xmdb.com.Xmdb.com. In NS ns3.xmdb.com.Ns1.xmdb.com. I
How to solve the cookie problem of different php subdomains with the same name. $ _ COOKIE is a very useful thing in php, but sometimes we encounter different subdomains under the same domain name, so there will be a problem that only one cookie can be retained, the following small series will give $ _ COOKIE a very useful thing in php, but sometimes we will encounter different subdomains under the same domain name, in this case, you can retain only one cookie. the following section will introdu
$ _ COOKIE is a very useful thing in php, but sometimes we encounter different subdomains under the same domain name, so there will be a problem that only one cookie can be retained.
$ _ COOKIE is a very useful thing in php, but sometimes we encounter different subdomains under the same domain name, so there will be a problem that only one cookie can be retained.
PHP's hyper-global variable $ _ COOKIE brings a lot of convenience and may also cause confusion in some cases. For example, if a cooki
PHP's hyper-global variable $ _ COOKIE brings a lot of convenience and may also cause confusion in some cases. For example, if a cookie with the same name exists in the root domain and subdomain, $ _ can only save one COOKIE. Which one should it be?We recommend that you use the longest RFC, which has the highest precision, but different browsers have different processing methods. I only tested Chrome. In Chrome, cookies with the same name in the r
$ _ COOKIE is a very useful thing in php, but sometimes we encounter different subdomains under the same domain name, so there will be a problem that only one cookie can be retained, the following is a small series for you to introduce.
PHP's hyper-global variable $ _ COOKIE brings a lot of convenience and may also cause confusion in some cases. For example, if a cookie with the same name exists in the root domain and subdomain, $ _ can only save one
homepage Round-Robin the src hash value of iframe. Once it is found that it has changed, hash is used to obtain the required information.The implementation of this method is complex and has limited functions. In IE and FireFox, the URL length can be about 2000 characters. It may be enough for a common requirement. Unfortunately, it is far from enough to transmit a large amount of data. Compared with the solution we will propose later, its only advantage may be that it can make asynchronous requ
The WEB server is Nginx, and you want to configure a generic subdomain name resolution. In fact, a little modification, configure a pan-domain name resolution is not difficult. Does not affect the primary domain name, domain.com and www.domain.com root is still the WWW directoryThe subdomain sub.domain.com's root wants to be placed in the Www-sub directory, and the other sub domains are equally Solution and
=
"O =" Domain indicates the session Origin
Generally, the "O =" domain is used as the unique representation of a version Session Description. Except for the version subdomain, other subdomains do not change.
Session name
S =
"S =" Domain indicates the session name. Each session has only one "s =" domain. ISO 10646 character set.
Session and media information
I =
"I =" Domain indicates session-related information. The Session
is executed, and the homepage Round-Robin the SRC hash value of IFRAME. Once it is found that it has changed, hash is used to obtain the required information.
The implementation of this method is complex and has limited functions. In IE and Firefox, the URL length can be about 2000 characters. It may be enough for a common requirement. Unfortunately, it is far from enough to transmit a large amount of data. Compared with the solution we will propose later, its only advantage may be that it ca
device.Therefore, an IRP may be forwarded multiple times. In order to record the operation of an IRP in each layer of equipment, the IRP will have an array of io_stack_location (stacks, positions). The number of elements in the array should be greater than the number of devices traversed by the IRP. Each io_stack_location element records the actions that are made in the corresponding device. For the corresponding io_stack_location of this layer device, it can be obtained by iogetcurrentirpstack
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.