2. Definition of Web Hosting
• Web Hosting is a service that allows individuals,
organizations, or businesses to make their websites
accessible via the World Wide Web. In essence, it
involves renting or buying space on a server to store
your website’s files so that it can be accessed online
by others.
3. • Server: A powerful computer that stores your website's files,
including text, images, and other resources. When someone
wants to visit your website, their computer communicates with
the server where your website is hosted, retrieves the necessary
files, and displays your website in their browser.
• Domain Name: This is the address people use to access your
website, such as "www.example.com". When someone types
your domain name into a web browser, it directs them to the
server where your website is hosted.
4. • Servers are specialized computers designed to store and manage websites,
handling the traffic that comes to the site. They are always connected to the
internet, allowing your website to be available 24/7.
• Storage refers to the amount of disk space allocated on a server for your
website's files, including HTML, CSS, JavaScript, images, videos, and other
multimedia. The amount of storage you need depends on the size of your
website and its content.
5. • Bandwidth is the amount of data that can be transmitted between the server
and the users in a given time period, typically measured in gigabytes (GB) per
month. It determines how much traffic your website can handle. If a site
exceeds its bandwidth limit, it may slow down or become temporarily
unavailable until the limit resets.
6. • Uploading Files: When you create a website, you build it using files (HTML, CSS, JavaScript, etc.). These files
are uploaded to your web hosting provider's server.
• Storing Data: Once uploaded, your files are stored on the server’s storage space. This allows the server to
"serve" these files to visitors when they access your website.
• Domain Name System (DNS): When someone types your domain name into their browser, the DNS converts
this domain name into the server's IP address, effectively pointing the visitor’s request to the correct server.
• Retrieving Content: The server then retrieves the necessary files and sends them to the visitor's browser, which
interprets these files and displays the website.
• Handling Traffic: As more people visit your website, the server manages multiple requests simultaneously,
ensuring that your site remains accessible to all users.
7. Types of Web Hosting
• There are various types of web hosting, each offering different levels of
resources, control, and technical requirements.
8. Shared Hosting
• Shared hosting is the most basic and cost-effective form of hosting. It involves
multiple websites sharing the same server and its resources (CPU, RAM, storage, etc.).
• Pros: Affordable, making it ideal for beginners or small websites. Requires minimal
technical knowledge to set up.
• Cons: Limited resources due to sharing with other sites. Performance can be affected
if another site on the server experiences high traffic or uses excessive resources.
• Less control over server settings. Best For: Small businesses, personal blogs, or
portfolio sites with low to moderate traffic.
9. Virtual Private Server (VPS) Hosting
• VPS hosting offers more control and resources by dividing a physical server
into multiple virtual servers. Each VPS functions as its own server, with
dedicated resources, but still shares the physical server with others.
• Pros:
• More resources and control compared to shared hosting.
• Greater flexibility in configuring the server.
• Better performance and security.
10. Virtual Private Server (VPS) Hosting
• Cons:More expensive than shared hosting.Requires some technical
knowledge to manage.
• Best For: Growing websites, medium-sized businesses, or websites with
higher traffic that need more control.
11. Dedicated Hosting
• Dedicated hosting provides an entire physical server dedicated to a single
website or application. This means no sharing of resources with other
websites
• Pros:
• Maximum control over server settings and resources.
• High performance and reliability.
• Enhanced security.
12. Dedicated Hosting
• Cons:Expensive, making it less suitable for small businesses or
beginners.Requires a high level of technical expertise to manage.
• Best For: Large businesses, high-traffic websites, or applications requiring
extensive resources.
13. Cloud Hosting
• Cloud hosting uses a network of interconnected servers (cloud) to host
websites. Resources are distributed across multiple servers, making it scalable
and reliable.
• Pros:
• Scalable resources based on demand.
• High reliability due to the distributed nature of the cloud.
• Pay-as-you-go pricing model, where you only pay for what you use.
14. Cloud Hosting
• Cons:Costs can vary depending on usage, which can make budgeting
challenging.Less control over the physical location of data.Best For: Websites
that experience fluctuating traffic, large-scale applications, or businesses
needing high availability and redundancy.