DEV Community

Cover image for How to host a website on Hostinger 2024| Upload files to hpanel| Make Your Website Live
Mohammed Ameen
Mohammed Ameen

Posted on

How to host a website on Hostinger 2024| Upload files to hpanel| Make Your Website Live

In this video, I will take you in a step by step tutorial on how you can upload your website local files from your pc/laptop to Hostinger hPanel.

This is a Step-By-Step Guide: Uploading Your Website on Hostinger - From Purchase to Going Live!

To contact me in case you needed help:
https://www.ameenschool.com

To get a special discount for Hostinger:

https://www.hostg.xyz/SH9Lx
ENTER THIS COUPON CODE: ANILAGARWAL

What is Ddos attacks?

A distributed denial-of-service (DDoS) attack is a malicious attempt to disrupt the normal traffic of a targeted server, service or network by overwhelming the target or its surrounding infrastructure with a flood of Internet traffic.

DDoS attacks achieve effectiveness by utilizing multiple compromised computer systems as sources of attack traffic. Exploited machines can include computers and other networked resources such as IoT devices.

From a high level, a DDoS attack is like an unexpected traffic jam clogging up the highway, preventing regular traffic from arriving at its destination.

For further explanation you can review this article: https://www.cloudflare.com/learning/ddos/what-is-a-ddos-attack/

Why do use .htaccess file in the public_html folder?

the short answer is it will recognize our menu pages MIMe type and force the browser to read them as .html files.

the longer answer is:
URL Rewriting: The .htaccess file allows you to rewrite or manipulate URLs. This is useful for creating search engine-friendly URLs, implementing URL redirects, or configuring custom URL structures for your website.

Access Control: You can use the .htaccess file to control access to certain directories or files on your website. For example, you can password protect a directory, restrict access based on IP addresses, or block specific users or bots from accessing certain parts of your site.

Error Handling: The .htaccess file enables you to define custom error pages for specific HTTP status codes. This allows you to provide more user-friendly error messages or redirect users to alternative pages when errors occur.

MIME Types: You can use the .htaccess file to configure MIME types, which specify how certain file types should be handled by the server. This is useful when serving non-standard file types or when you want to force a specific behavior for certain file types.

Caching and Compression: The .htaccess file allows you to enable browser caching and compression for your website's static files, such as CSS, JavaScript, and images. This can improve website performance and reduce bandwidth usage.

how to upload html file to Hostinger
how to upload your website on Hostinger
how to host your local website files on Hostinger
upload website on Hostinger
upload website Hostinger
Hostingerhpanel setup
how to host a website on Hostinger
how to upload website to Hostinger

Top comments (0)