Setup of simple WWW server

Source: Internet
Author: User
Tags ftp resource domain domain name fully qualified domain name linux

If you are a Linux enthusiast, you may have mastered basic Linux knowledge and operations, and no doubt you are not going to meet such a small achievement; why is Linux so popular? Its biggest feature is the powerful, stable performance of the server application. Like Www,mail,ftp, DNS and SMB; In this article, we start with some of the most basic operation of the Web server, from the attitude of beginners, so that everyone correctly and fully understand the server Apache;

1. About WWW and URLs;

WWW is the World Wide Web abbreviation, translation is the Global wide area network, it can join text, graphics, video and sound multimedia, and through hypertext (hypertext) way, the information through the Internet to the world everywhere;

For example: In the browser's address bar, enter "http://www.linuxsir.org", you can log on to the Linuxsir Web site browsing information, where "http://www.linuxsir.org" is the URL (uniform Resource Locator, the same resource locator), "www.linuxsir.org" is the host name, which is the FQDN in DNS (fully qualified domain name, fully compliant with the standard domain name), That is, the host name plus the domain name of a unique Internet name above. Because the computer only recognizes the IP in the network, therefore, the real IP of the Linuxsir station is found by DNS resolution www.linuxsir.org, and then through the WWW agreement will pass the data to your front;

The format of the 1.1 URL;

<协议>://<主机地址>[:端口]/<目录>

1.1.1 Agreement;

includes several common protocols for Http,ftp,news,gopher and Telnet. Among them, HTTP is the "host of HTTP port, typically 80 port", FTP is the use of "host FTP port, typically 21 ports." Note: 80 and 21 are the services provided by the host, not the client's port.

1.1.2 Host address;

When you enter a host name (domain name), you must allow the host name to be the corresponding IP through the translator. Translator is/etc/hosts or/etc/resolv.conf inside the setting to provide a normal WWW server, the host name must let everyone can translate to IP, which requires to apply for a legitimate domain name;



Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.