website-building-cloudflare-hostinger
ITIAN Website Building Short Course
Technology Simplified — Solutions That Work
Cloudflare, Domains and Hostinger
Understand the domain-to-hosting journey, publish your static files through Hostinger and confirm secure access through Cloudflare.
By the end of this lesson, you can…
- Explain how domain registration, DNS, Cloudflare and Hostinger relate.
- Identify the DNS records needed by the hosting service.
- Upload a static site to the correct public_html folder.
- Verify the domain, HTTPS certificate and published files safely.
Before you begin
What you need
- A Hostinger hosting plan and a domain you are authorised to manage.
- Cloudflare access if the domain uses Cloudflare nameservers.
- A complete local backup of the website project.
Starter check
Write down where the domain is registered, which nameservers it uses and where the website is hosted. Do not change anything until those three facts are confirmed.
Understand and demonstrate the skill
The domain is the human-friendly address, DNS directs requests, Cloudflare can manage DNS and edge security, and Hostinger stores the origin website. Each service has a distinct job.
Key terms
Nameserver
A server that identifies where authoritative DNS records for the domain are managed.
DNS record
An instruction connecting a hostname to a service, address or verification value.
public_html
The Hostinger directory that normally contains publicly served website files.
HTTPS
An encrypted browser connection using a valid TLS certificate.
Follow the demonstration
- Back up and record. Save local files and capture the current DNS records and hosting destination.
- Confirm the Hostinger website. Open the correct website dashboard and identify its public_html folder.
- Upload the static files. Place index.html, styles.css and the images folder inside public_html.
- Configure DNS carefully. Use the destination values provided by Hostinger and preserve unrelated mail records.
- Verify secure publication. Test the root domain, www version, HTTPS, images and internal links.
Worked example
public_html/
├── index.html
├── styles.css
└── images/
└── coast-portrait.webp
Verification checklist:
https://example.co.nz/
https://www.example.co.nz/
No certificate warning
No missing images or broken links
Complete the guided activity
Publish the static project only after recording the existing setup, then complete a browser verification without deleting unrelated hosting or DNS data.
- Prepare. A current local backup and DNS record are saved.
- Build. The correct Hostinger website and public_html folder are confirmed.
- Check. Required DNS records match the values supplied by the hosting service.
- Record. The domain loads over HTTPS with working images and links.
Activity checklist
Check your understanding
Answer all three questions, then review any topic that needs another look.
Review, reflect and continue
Success criteria
- The local backup and original configuration are recorded.
- The website files are in the correct public directory.
- The intended hostnames load securely without broken assets.
Reflection prompt
Which service performs each job—registrar, DNS, Cloudflare and Hostinger—and what would you check first if the page did not load?