Domain name resolution English name: DNS (Domain Name resolution)
How can I view my website content after I register a domain name? In a professional term, it is called "domain name resolution ".
As mentioned in related terms, domain names and
Use JS to extract the domain name (domains) in the URL, with the split () function on it.
Because a correct URL must be http://or https://, domain, path/parameter composition, so you can use split to/to divide the group, take the 3rd part is the
Simply put, that is: The URL is composed of domain names such as www.sina.com.cn URL by the protocol + domain name composition. such as: http://www.baidu.com This is a URL, the front is the http://protocol, behind www.baidu.com is the domain name.
The following is reproduced from: http://www.cnblogs.com/190196539/archive/2011/12/13/2286072.htmlSet current page full address is: Http://www.jb51.net/aaa/bbb.aspx?id=5&name=kelli"/HTTP" is the protocol name"Www.jb51.net" is the domain name"AAA" is
Reprint Original AddressHttp://blog.miniasp.com/post/2008/02/10/How-Do-I-Get-Paths-and-URL-fragments-from-the-HttpRequest-object.aspx
Web address: Http://localhost:1897/News/Press/Content.aspx/123?id=1#toc
URL: Uniform Resource Locator (Uniform Resource Locator, URL)The complete URL consists of the following parts:Scheme://host:port/path?query#fragmentScheme: Communication protocolCommon Http,ftp,maito, etc.Host: HostsThe server (computer) domain Name
Excerpt from: https://www.cnblogs.com/wangdahai/p/6221399.htmlhave been modified.First, JS get the current domain name of 2 waysMethod Onevar domain = Document.domain;Method Twovar domain = Window.location.host;Note: Because the current domain name
php URL Parts Get methods (global variables), the main introduction of the PHP global variable $_server usage , the need for friends, you can refer to the next.
1, $_session[' php_self ')-Gets the currently executingthe file name of the script2,
First, explain the URL:Refer to Baidu Encyclopedia: URL entriesURL: Uniform Resource Locator (Uniform Resource Locator, URL)The complete URL consists of the following parts:Scheme: // host: Port/path? Query # FragmentScheme: Communication
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.