Summer is here, should you find something to research for young people who are passionate about IT? Today I will show you the brief and simplest understanding of what Hosting is, and how to upload the source code to the Host to complete a static Website.
Join the channel Telegram of the AnonyViet 👉 Link 👈 |
To Website yours appear on Internetwe need 3 things
Source Code: Website Data
Domains: translates as domain name. Eg: Google.com, AnonyViet.com called domain
Hosting: Where is the Source Code?
So:
Domain like home address
Hosting to be House Contains Source Code
How to Register Domain?
Usually domains .com, .net, .org…. you have to spend money to buy, if you win the sale, it’s only about 1$/year, and the average price is about 200k/year
However, if you do not have much money, you can register for free domains such as .tk, .ga… at the pages below.
Or use Subdomain (subdomain) at Free Hosting, I will guide below
How to Register Hosting?
Hosting is also divided into 2 types, paid and free. However, with a fee, you will get more storage, better CPU, RAM and other support than the free product.
There are some Free Hosting but the quality is like paid, you see the articles AnonyViet has introduced here
Because the object of this article is mostly students, I will guide you on how to register and use Host Free for you.
Normally in Vietnam we often use Free Host of Hostinger or 000webhost However, if you know any free and delicious Hosting, please recommend it to AnonyViet.
Now I will guide you to register and use 000webhostother hosts are similar
Note: The 3rd box is also Subdomains your
Final: Remember to enter your email to registration confirmation
How to Upload Code to Hosting
Once you have an account, you proceed Log in go to Hosting and click on Manage Website
Keep clicking Upload Own Website
You can proceed to manage the source code files on Hot here
Note: you have to upload to folder public_html Then the new code will work
You choose the icon cloud there is an arrow to start Upload
Tips
All Souce Codes can be compressed into Zip files for quick upload
I will Demo up the code Web of beautiful confession 2017 Please
When Upload successful, you return to the File Manager page, and decompression zip file out by right click Select the file you just uploaded Extract
When fully decompressed it will look like this
However you need to move all the files in the directory webtotinhhtml5 out, is a sub-level of the directory public_html for Souce code to work with the main Domain
I double click go to folder webtotinhhinhtml5, Keep key Ctrl sequence click select all the folders and files inside, then right-click and select Move
In the cell Destination select Change to change the path to the public_html . directory
In the cell Destination select point to folder public_html
If you do it right result it will come out like this
All directories and files already in the parent directory are public_html
Final is to go to your domain to see the results
If you need further instructions, please comment below
In the next post, I will guide you to point your domain to hosting