आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।
प्रश्न
सुपर यूज़र रीडर सेलेरिटस जानना चाहता है कि वेबसाइट URL पर 'www' जोड़ने से कोई फर्क पड़ता है या नहीं:
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’?
क्या अब वेबसाइट URL पर 'www' जोड़ना वाकई आवश्यक है, या क्या आप इंटरनेट ब्राउज़ करते समय इसे छोड़ सकते हैं और किसी भी समस्या का अनुभव नहीं कर सकते?
उत्तर
सुपरयूसर योगदानकर्ता सिनेटैक का उत्तर हमारे लिए है:
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:
Sometimes the scheme can perform this function:
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' हिस्से में टाइपिंग छोड़ सकते हैं, लेकिन हमेशा एक संभावना है कि आपको 'दुर्लभ' वेबसाइट का सामना करना पड़ सकता है जिसे अभी भी इसकी आवश्यकता है।
स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में विचार व्यक्त करो। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।