public_html is the website folder of your main domain. Everything in it is available on the internet: when someone opens yourdomain.lv, the server shows the contents of public_html.
Log in to cPanel – see the article “1.2. Logging in to cPanel”.
1Open public_html
In the “Files” section of cPanel, open “File Manager”. In the folder tree on the left, click “public_html” – the website files are shown on the right.
The folder tree also shows the structure of the whole hosting account (the home folder /home2/username).

Good to know
- A website starts with an index.php or index.html file. If there is none, the visitor sees an error or – if allowed – a list of the folder's files. On our hosting, file lists are switched off (see the article “How to stop folder file lists from being shown (Indexes)”).
- Addon domains and subdomains have their own folders – you can see them in the “Domains” section of cPanel, in the “Document Root” column (see the article “How to add a domain to your hosting account”).
- Do not keep files in public_html that others must not see: backups (.zip, .sql), password lists, documents. Anyone who learns the address can download them.
- Folders outside public_html (for example mail, logs and etc) are not available on the internet – do not delete or move them.
If you run into any difficulties, just write to us and we will help. support@area.lv