Днешната сесия за въпроси и отговори ни идва с любезното съдействие на SuperUser - подразделение на Stack Exchange - обединяване на уеб сайтове с въпроси и отговори.
Въпроса
Четец на SuperUser Celeritas иска да знае дали добавянето на "www" към URL адресите на уебсайта е различно или не:
In modern web browsers, is there any point in putting ‘www’ in front of a website URL that uses it? When going to ‘www.facebook.com’ or ‘www.cbc.ca’, is there any benefit or difference made by omitting the ‘www’?
Наистина ли е необходимо да добавите "www" към URL адресите на уебсайта сега, или бихте могли просто да го пропуснете, когато разглеждате интернет и не изпитвате проблеми?
Отговорът
Сътрудникът на SuperUser Synetech има отговорът за нас:
It usually doesn’t, but it could.
This has nothing to do with the browser; it has to do with the web-server. The web-server is a computer (or even multiple computers) which receive queries for web-pages and send the appropriate data. A URL includes several parts, one of which is the name or address of the web-server.
Many companies host more than just a web-server, they may also run an FTP-server, a database-server, a mail-server, and so on. These could be hosted from the same machine as the web-server or on different machines.
In the past, it was common to specify the difference via a prefix for consistency. So for example, Acme Industries might buy the domain-name ‘acme.org’, then set up one or more computers to host the different services they have. When you want to use one of the services, you enter the appropriate host name:
Differentiating the service or machine being accessed can also be done through the port, but it requires specifically including it in the name, so it’s not really any better than using prefixes:
It’s becoming less and less necessary to include ‘www’, but it is not universal, and some sites still require it because it helps keep things organized.
През повечето време можем щастливо (и лесно) да пропуснем да пишете в "www" частта на URL адресите на нашите любими уеб сайтове, но винаги има вероятност да се натъкнете на "редкия" сайт, който все още го изисква.
Имате ли нещо, което да добавите към обяснението? Звучи в коментарите. Искате ли да прочетете повече отговори от други потребители на Stack Exchange? Вижте цялата тема на дискусията тук.