Uploading HTML website files. After days of coding your website, it’s time to publish your creation to the internet. This tutorial will show you how to upload a website in a few easy steps. Let’s take a look!

  1. Pick a Reliable Web Hosting Company

Creating and maintaining a website is not something that you should take lightly. It’s crucial to pick a top-notch web hosting provider that has all the key features to kickstart your project.

  1. Live support. A good hosting service should have a team of experts who can help you at any time. There’s no worse feeling than running into some issues and having to wait for days to get a response.
  2. Control over your web hosting space. The less control you have over your account, the more likely you are to run into trouble when your site grows.

2. Choose Your Website Upload Method

The next challenge is picking the right tool to do the job. Here are four of the most popular tools to upload a website:

File Manager

A browser-based tool with all the key features to take care of your website files and directories. In hPanel, you can find File Manager under the Files section.

However, the File Manager has an upload limit. If your website files are larger than 256MB, you should opt for the next tool instead.

File Transfer Protocol (FTP)

Most web hosting providers include a File Transfer Protocol (FTP) service, so you can use it to connect to an FTP client. For Hostinger’s users, all the required credentials are located in FTP Accounts under the Files section.

FTP clients have no size limit, so you can upload as many files as you want.

Automatic Website Importer

If you’re a Hostinger client, you can find an Import Website feature in hPanel. You can use this feature to extract a website archive to the public_html directory. The tool supports .zip, .tar and .tar.gz formats, and the upload limit is 256MB.

3. Upload Your Website File

  1. Login to Hostinger’s hPanel and navigate to File Manager.
  2. Once you’re in the public_html directory, select the Upload Files icon from the upper-right menu.
  3. Select the website archive file on your computer and Upload it to our server.
  4. Right-click on the uploaded file and Extract the archived files to the public_html directory.

4. Move the Website Files to the Main Root Directory

In some cases, an additional directory will be created when you upload website files. As a result, visitors will be directed to yourdomain.com/subfolder instead of the default yourdomain.com

To prevent that from happening, you need to make sure all the files are located in the root directory of your domain, which is public_html.

You can use the File Manager to move your website files. All you need to do is right-click on the subfolder, select the Move option, and set public_html as the destination.

5. Import Your Database

If your website uses a database, you’ll also need to import it along with your website files:

1.Create a new MySQL database and user.

How can I create a new MySQL database?

Your MySQL databases can be fully managed from the MySQL Databases page. To create a database just find Hosting → Manage → MySQL Databases:

In the section Create a New MySQL Database And Database User, enter your MySQL database name, username, password and click on Create:

Once done, a new database will appear on List of Current MySQL Databases And Users section and you will be able to manage it freely.

NOTES:

  • The first part of the database/user name (u123456789) is unique and cannot be removed or changed.
  • Password must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters.
  1. Access your newly created database via phpMyAdmin.
  2. Use the Import section to upload the backup file of your database.
  3. Update the MySQL database connection details (database name, host, user, password) in its configuration files.

6. Check If the Website Works

Once the website files are uploaded, it’s time for a final check!

If your domain name is already pointed to your web host, enter the domain name into your browser and see if it directs you to your website.

Keep in mind that DNS changes can take up to 48 hours to fully propagate worldwide. As such, if you just pointed your domain to the web host’s name servers, you might need to wait for a while.

Use an online tool like whatsmydns.net to check the state of your DNS propagation. Just enter your domain name and the tool will check the DNS records against multiple name servers.

Should you follow all the instructions correctly, your website will appear just fine. However, if you run into an issue, ask your hosting provider for assistance.

And if you’re a Hostinger client, contact us via the live chat and one of our customer success agents will be ready to help you!

Conclusion

Designing a beautiful website will mean nothing if you don’t publish it. Don’t leave it untouched on your computer and let people appreciate your artwork!

To recap, here are the steps to upload your website:

  1. Pick the right hosting provider.
  2. Choose the tool and method to upload your website.
  3. Upload your website files.
  4. Move the website files to the main root folder.
  5. Import your database.
  6. Check if your website works worldwide.

That’s it! It may sound a bit complicated at first, but if you follow all the steps carefully, you’ll get your website running in no time. Good luck!

Lot Balonem Cena says:
Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
What a great post! Your points are well-articulated and backed by solid research. Impressive work!
Extended Opportunity says:
Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
Hey Guys, Warning: From February 2024, all existing email autoresponders will become obsolete! In fact, if you want to send marketing emails, promotional emails, or any other sort of emails starting in February 2024, you’ll need to comply with Gmail’s and Yahoo’s draconic new directives. They require regular marketers like you and I to setup complex code on sending domains… and existing autoresponders like Aweber and GetResponse are not helping: they’re requesting you do all the work, and their training is filled with complex instructions and flowcharts… How would you like to send unlimited emails at the push of a button all with done-for-you DMARC, DKIM, SPF, custom IPs and dedicated SMTP sending servers? What I mean by all of that tech talk above, is that with ProfitMarc, we give you pre-set, pre-configured, DONE-FOR-YOU email sending addresses you can just load up and mail straight away. We don’t even have any “setup tutorials” like other autoresponders either, because guess what: we already did all the setup for you! All of our built-in sending addresses and servers are already pre-warmed with Gmail and Yahoo and they’re loving us: 99% inbox rate is the average! ⇒ Grab your copy here! ⇒ https://ext-opp.com/ProfitMarc
anti diarrhea for dogs says:
Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
Hi, I think that I saw you visited my web site, so I came to return the favor. I am attempting to find things to improve my web site! I suppose it’s okay to use some of your ideas!!
heb kerrville says:
Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
Wonderful beat! I wish to apprentice while you amend your web site, how could I subscribe for a blog web site? The account aided me a good deal. I had been a little bit acquainted with this your broadcast provided bright clear idea.