Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Hosting and Domains

public_html

Also known as: public html, web root

1 min read Updated November 10, 2026

Definition The main folder on many hosting accounts where your website's files live.

What it is

Anything placed in public_html is available on the internet. The home page, such as index.php, sits in this folder.

Why it matters for your business

Putting files in the wrong folder makes your site show errors or leaves sensitive files visible.

Real-world example

A WordPress site lives in public_html on a cPanel host.

Design Corner tip

Never leave backups or passwords in public_html.