How spider web servers are working?
Know hither close spider web server working methods
Whenever yous sentiment a spider web page on the internet, yous are requesting that page from a spider web server. When yous type a URL into your browser (for example, "http://www.vikinspire.com/html/tutorial/index.cfm"), your browser requests the page from the spider web server in addition to the spider web server sends the page back:
The to a higher house diagram is a simplistic version of what occurs. Here's a to a greater extent than detailed version:
- Your spider web browser showtime needs to know which IP address the website "www.vikinspire.com" resolves to. If it doesn't already accept this information stored inwards it's cache, it requests the information from ane or to a greater extent than DNS servers (via the internet). The DNS server tells the browser which IP address the website is located at. Note that the IP address was assigned when the website was showtime created on the spider web server.
- Now that the spider web browser knows which IP address the website is located at, it tin sack asking the total URL from the spider web server.
- The spider web server responds past times sending dorsum the requested page. If the page doesn't be (or to a greater extent than or less other fault occurs), it volition mail dorsum the appropriate fault message.
- Your spider web browser receives the page in addition to renders it equally required.
Multiple Websites
A spider web server tin sack (and commonly does) incorporate to a greater extent than than ane website. In fact, many hosting companies host hundreds, or fifty-fifty thousands of websites on a unmarried spider web server. Each website is commonly assigned a unique IP address which distinguishes it from other websites on the same machine. This IP address is likewise what the DNS server uses to resolve the domain name.
It is likewise possible to configure multiple websites without using dissimilar IP addresses using host headers and/or dissimilar ports. This tin sack locomote useful inwards a evolution surround in addition to is quite slowly to do.
Page Not Found
If the requested page isn't found, the spider web server sends the appropriate fault code/message dorsum to the client.
You tin sack exercise user friendly fault messages, in addition to thence configure your spider web server to display that page instead of the green fault page. This tin sack add together a overnice touching on to your website. How many times accept yous (or fifty-fifty worse, your visitors) encountered a patently white page alongside to a greater extent than or less cryptic fault message on it?
It's really slowly to exercise custom fault pages, in addition to thence configure your spider web server to role them.
Default Documents
If you've e'er created a website, yous may accept establish that if yous accept an "index" file (index.html for example), yous don't demand to specify the refer of the file. For example, the next URLs both charge the same page:
- http://www.vikinspire.com/html/tutorial
- http://www.vikinspire.com/html/tutorial/index.cfm
In this example, "index.cfm" is the default document. You tin sack configure your spider web server thence that whatever file refer tin sack locomote the default document. For example, yous could configure your spider web server to role "index.cfm" inwards the number no filename has been specified, or if yous role PHP, "index.php". You could fifty-fifty specify dissimilar default documents for dissimilar directories if yous like.
SSL Certificates
You tin sack apply SSL certificates against a website via the spider web server. First yous demand to generate the certificate either past times yourself (i.e. using a certificate generator), or past times a Certificate Authority (CA). Then, ane time it has been generated, yous apply it to your website via your spider web server. Applying an SSL certificate to a website is a similar a shot frontwards task.
Once you've applied an SSL certificate against a website, yous tin sack navigate it using HTTPS (as opposed to HTTP). HTTPS encrypts whatever information that is transferred over the internet. This reduces the possibility of to a greater extent than or less malicious mortal beingness able to read your users' sensitive information.
To navigate a website using HTTPS, yous but supervene upon the HTTP alongside HTTPS at the start of the URL inwards your browsers' place bar ("https://www.vikinspire.com")
Belum ada Komentar untuk "How spider web servers are working?"
Posting Komentar