How the web server works - Before discussing how a web server works, it is important to first understand what a server is and how it affects how your website works. Basically, a web server transfers the information and data you need to run your website on your terminal, whether it's a PC, Mac or mobile device like a mobile phone or computer. tables.
Host concept
Let's start by saying that this is not a technical article explaining how the Hypertext Transfer Protocol relates to HTTP requests and responses, as well as the techniques of Java or C + sockets. +. It is intended to explain in terms that are easy to understand what the server is and what role it plays in displaying your website on the screen. For the vast majority, their servers are equivalent to their web hosting services.
Basically, the server provides the service. In internet terminology there is more than 1 type of server. It could be a computer, a hard disk, or even software. Here, we are discussing web servers that help run your website and how it works to provide you or your website the files and graphics that make up your website so that it appears to visitors. as you like to come.
Such servers generally consist of hard drives loaded with software necessary to run the server system, to run your website and also to store files and databases that must be uploaded if visitors Click to access your website.
Translate web hosting service
When you sign up for a specific web hosting service, you are basically paying the server to give you server space, also known as web space. In addition to that space, your web server will also provide bandwidth to allow file transfers to and from the server and many other services, like security, an operating platform called a control panel (for example, cPanel) and other services.
All this is provided from the web host's server. Shared hosting involves you being offered a part of the server - you're sharing server space with many others. You don't really get the server part, but are provided with what is available at the time you need to use it.
Most good web hosting services have plenty of room on their servers to share hosting, but if the capacity is too large, you'll experience downtime. Web hosting services like HostGator, Bluehost and Dreamhost provide plenty of server space for shared hosting customers. Others may not, so check the uptime guaranteed.
There are other expensive services that provide you with secure server space, called VPS or virtual private server hosting and other services besides providing you with the server for yourself. However, no matter what hosting service you have, your web server basically works the same way.
How the web server works
The easiest way to explain how web servers work is to look at a commercial intranet where company employees work from terminals that don't have any storage capacity: don't store hard disks or DVDs. All software that runs their applications is stored on the company's servers as well as files created during their work. This server can be located in a room at the company's branch office or in the IT department of a central office in a certain city, country or even continent.
It does not matter where it is stored. Each employee can access the software and files they need to use from the terminal without any storage space. No USB slot, no DVD and no hard disk. The server provides access to the software and necessary files stored on RAM during use. When you click on ‘Save’, the changes to the file are stored on the server and each individual in the company will have separate login information and permissions to access specific file types. Instead of having individual PCs, each computer has its own or shared space on the company's servers.
Your laptop, PC or even your mobile phone can be equated to the terminal in the example above. Your web host is the server and all the software needed to operate your website is also hosted on the web server's server, along with the websites, images and all the other files you use. Use on your website.
See more: How to create a website with Wix
Web host
Take WordPress as an example. If you have a WordPress website, you will know that your media is hosted on a server related to your website. When readers click to access your website, the link will direct their request to the server server of the web server. Then, start a sequence of events that lead to website components being retrieved from the file system on the server and then resolved on the visitor's screen as your website.
When a visitor to your website clicks on the link, that click is considered a website request identified in the link URL accessed from the website's file server. Whether hosted on your own web server or on another hosting service, Resource Locator unifies the source of the link and then takes it to your screen.
This is done by encoding the HTML, website CSS, and many other files that are normally opened before all the information is retrieved to allow your linked page to be resolved on visitors' screens. These include the HTML source code for each page, headers and footers applied to each page, various CSS format files, images and all the other individual elements that make up a website. All are stored on a server, not on your computer.
To understand this, WordPress website writing software is not stored locally on your computer but on the web hosting server. Also hosted on web hosting servers, software needed to operate the server, such as Apache, Linux, etc. although that is not stored on your web space.
Where to store - My Computer and Servers?
What is stored in your server is the software needed to run your website and content management system - which means WordPress for the vast majority of people. If you want to use Microsoft Office, you must download it yourself. That's because you use this software on a computer without internet access.
The same thing applies to any other application you need. Your server is only loaded with the software systems needed to run your website and to show your files to people who click on your website or website URL.
In fact, your entire website is hosted on web server servers, including comments and your website security system. It is a small space for you to store everything related to your contact information through the internet.
Your server will provide the posts, graphics and videos you want to be displayed when someone visits your websites. It also provides space for you to host website writing software (e.g. WordPress), databases and all other files required to run your website. Check anywhere on your computer and you won't find any of these hard disks. They are all stored on the server.
Load speed and importance of server location
The loading speed of your website depends mainly on the location of these web servers. Think of travel. It takes more time to fly from New York to the UK than to Detroit. In the same way, the location of your server makes a difference to the loading speed of your website.
If you're in the UK and your server is located in New York, the guy in Detroit might load his website a lot faster than yours. Similar to Australia: the server located in Melbourne will load the website for the girl in Sidney much faster than the guy in Mumbai.
The importance of web server placement cannot be overemphasized! Website loading speed is a factor that Google considers in ranking calculations. If everything is equal between the two web URLs, the faster loading website may be ranked higher. If visitors find they have to wait for your website to load, they may decide to try another website that resolves faster. This is connected at the relative distance between the server and the visitor. The proximity of your computer to the server is not relevant.
Distance, bandwidth and file size
So how can you fix this problem related to web serving being located far away from your location or your visitors? Distance is not affected by bandwidth.
As you can see, even when the distance of the server to the computer is the same, the bandwidth makes a significant difference to the speed of your file transfer. You will get more file sizes into a wider bandwidth service.
If you view broadband as a pipeline carrying your files, the larger the diameter of the pipe, the faster your files will move because more can be transferred at the same time. Therefore, the amount of server bandwidth of the web server can provide you with significant importance.
A similar diagram can be provided showing the importance of the distance from the server to your computer as low as possible. The shorter the pipe or the lower the travel distance, the greater the transfer speed. There are several ways to achieve this, the most common:
- a) Choose a web hosting service as close to your home city as possible. However, you will limit yourself to the options available to you. The best hosting service for your needs can be thousands of miles away.
- b) Check if your server has a server near the house they use for your location. For example, some US web hosting services maintain servers in Europe and Asia for their customers living on those continents.
- c) If you are using a website writing service like WordPress, use a plugin like W3 Total Cache. This can speed up WordPress server and download time by hosting the most frequently used files.
- d) Use of the CDN system. The content delivery network will speed up your website loading by hosting static content on several server networks around the world. Your computer will be provided with static content for your website from the server closest to you, based on your IP address.
Static content is essential data when pages on your website are loaded. This includes style sheets, image files, titles, Flash applications, and JavaScript. Typically, all of this will be downloaded from the main web hosting service server. If this is in Houston and your visitors are in France, it may take time to reach them. CDN allows them to download this static content from servers in the UK, Germany or even in Paris!
See more: Create a free sales website
Epilogue
It is very important that your website loads quickly. Not only did it lead to a higher bounce rate, because people were tired of waiting, but it was also a factor included in Google's ranking algorithm. Slow loading not only affects your potential traffic, but you are also less likely to keep them once they see a link to your website.
The importance of the location of your web servers is important because it plays a big role in how quickly your websites deal with potential visitors clicking on your links.
0 Comments