Skip to main content

MyWeb Tutorials: File Manager & HTML page

In this tutorial, we will create a simple HTML page and navigate through the website's files.

Accessing the File Manager
  • Log in to MyWeb (DirectAdmin)
  • From the main dashboard, click File Manager

    image.png

  • You will see a directory tree showing files and folders associated with your account

image.png

Understanding the File Structure

Your account contains several folders. The most important ones are:

📁 public_html (Most Important)

    This is the web root Any file placed here is accessible through your website Example:
      public_html/index.html → https://yourusername.myweb.cs.uwindsor.ca 

      This is where your website files go

      📁 public_ftp

        Used for FTP access Typically not used unless you connect using an FTP client Does not automatically publish files to the web

        📁 Other folders you may see

          logs – Website access/error logs domains – Used when multiple domains/subdomains exist System folders – Should not be modified

          Do not delete folders unless instructed

          Creating or Uploading Files

          Inside public_html, you can:

            Upload files (HTML, PHP, images, CSS, JS) Create new files Create subfolders (e.g., images, css, js)

            Example structure:

            public_html/
            ├── index.html
            ├── about.html
            ├── css/
            │   └── style.css
            ├── images/
            │   └── logo.png
            Website Entry (Starting) Files

            When someone visits your website, the web server looks for default index files.

            Common starting files:

              index.html index.php

              If both index.html and index.php exist, index.html will win and load first

              When to Use HTML vs PHP

              Use HTML (.html) when:

                Your site is static No database or server logic is needed You are learning basic web structure

                Use PHP (.php) when:

                  You need server-side logic You connect to a database You process forms or user input
                  Quick Tips & Common Mistakes

                  ✔ Always place website files in public_html
                  ✔ File names are case-sensitive (Index.html ≠ index.html)
                  ✔ One index file per folder is enough
                  ❌ Don’t delete system folders
                  ❌ Don’t expect files outside public_html to be public