# MyWeb Tutorials: File Manager & HTML page

<span style="font-size: 13.0pt; line-height: 107%;">In this tutorial, we will create a simple HTML page and navigate through the website's files.</span>

##### <span style="text-decoration: underline;">**<span style="font-size: 13.0pt; line-height: 107%;">Accessing the File Manager</span>**</span>

- <span style="font-size: 12.0pt; line-height: 107%;">Log in to [MyWeb](https://www.myweb.cs.uwindsor.ca/) (DirectAdmin)</span>
- <span style="font-size: 12.0pt; line-height: 107%;">From the main dashboard, click File Manager</span>[![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/scaled-1680-/Vjdimage.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/Vjdimage.png)
- <span style="font-size: 12.0pt; line-height: 107%;">You will see a directory tree showing files and folders associated with your account  
    </span>

[![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/scaled-1680-/cH3image.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/cH3image.png)

##### <span style="text-decoration: underline;">**<span style="font-size: 13.0pt; line-height: 107%;">Understanding the File Structure</span>**</span>

<span style="font-size: 13.0pt; line-height: 107%;">Your account contains several folders. The most important ones are:</span>

**<span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Emoji',sans-serif; mso-bidi-font-family: 'Segoe UI Emoji';">📁</span><span style="font-size: 13.0pt; line-height: 107%;"> public\_html (Most Important)</span>**

- <span style="font-size: 13.0pt; line-height: 107%;">This is the **web root**</span>
- <span style="font-size: 13.0pt; line-height: 107%;">Any file placed here is accessible through your website</span>
- <span style="font-size: 13.0pt; line-height: 107%;">Example:</span>
- <span style="font-size: 13.0pt; line-height: 107%;">public\_html/index.html → [https://yourusername.myweb.cs.uwindsor.ca](https://yourusername.myweb.cs.uwindsor.ca) </span>


<span style="font-size: 13.0pt; line-height: 107%;">This is where your website files go</span>

**<span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Emoji',sans-serif; mso-bidi-font-family: 'Segoe UI Emoji';">📁</span><span style="font-size: 13.0pt; line-height: 107%;"> public\_ftp</span>**

- <span style="font-size: 13.0pt; line-height: 107%;">Used for **FTP access**</span>
- <span style="font-size: 13.0pt; line-height: 107%;">Typically not used unless you connect using an FTP client</span>
- <span style="font-size: 13.0pt; line-height: 107%;">Does **not automatically publish files to the web**</span>

**<span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Emoji',sans-serif; mso-bidi-font-family: 'Segoe UI Emoji';">📁</span><span style="font-size: 13.0pt; line-height: 107%;"> Other folders you may see</span>**

- <span style="font-size: 13.0pt; line-height: 107%;">logs – Website access/error logs</span>
- <span style="font-size: 13.0pt; line-height: 107%;">domains – Used when multiple domains/subdomains exist</span>
- <span style="font-size: 13.0pt; line-height: 107%;">System folders – Should not be modified</span>

*<span style="font-size: 13.0pt; line-height: 107%;">Do not delete folders unless instructed</span>*

##### <span style="text-decoration: underline;">**<span style="font-size: 13.0pt; line-height: 107%;">Creating or Uploading Files</span>**</span>

<span style="font-size: 13.0pt; line-height: 107%;">Inside **public\_html**, you can:</span>

- <span style="font-size: 13.0pt; line-height: 107%;">Upload files (HTML, PHP, images, CSS, JS)</span>
- <span style="font-size: 13.0pt; line-height: 107%;">Create new files</span>
- <span style="font-size: 13.0pt; line-height: 107%;">Create subfolders (e.g., images, css, js)</span>

<span style="font-size: 13.0pt; line-height: 107%;">Example structure:</span>

```
public_html/
├── index.html
├── about.html
├── css/
│   └── style.css
├── images/
│   └── logo.png
```

##### <span style="text-decoration: underline;">**<span style="font-size: 13.0pt; line-height: 107%;">Website Entry (Starting) Files</span>**</span>

<span style="font-size: 13.0pt; line-height: 107%;">When someone visits your website, the web server looks for **default index files**.</span>

**<span style="font-size: 13.0pt; line-height: 107%;">Common starting files:</span>**

- <span style="font-size: 13.0pt; line-height: 107%;">index.html</span>
- <span style="font-size: 13.0pt; line-height: 107%;">index.php</span>

*<span style="font-size: 13.0pt; line-height: 107%; font-family: 'Aptos',sans-serif; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Aptos; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-CA; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">If both index.html and index.php exist, index.html will win and load first</span>*

##### <span style="text-decoration: underline;">**<span style="font-size: 13.0pt; line-height: 107%;">When to Use HTML vs PHP</span>**</span>

**<span style="font-size: 13.0pt; line-height: 107%;">Use HTML (.html) when:</span>**

- <span style="font-size: 13.0pt; line-height: 107%;">Your site is static</span>
- <span style="font-size: 13.0pt; line-height: 107%;">No database or server logic is needed</span>
- <span style="font-size: 13.0pt; line-height: 107%;">You are learning basic web structure</span>

**<span style="font-size: 13.0pt; line-height: 107%;">Use PHP (.php) when:</span>**

- <span style="font-size: 13.0pt; line-height: 107%;">You need server-side logic</span>
- <span style="font-size: 13.0pt; line-height: 107%;">You connect to a database</span>
- <span style="font-size: 13.0pt; line-height: 107%;">You process forms or user input</span>

##### <span style="text-decoration: underline;">**<span style="font-size: 13.0pt; line-height: 107%;">Quick Tips &amp; Common Mistakes</span>**</span>

<span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Symbol',sans-serif; mso-bidi-font-family: 'Segoe UI Symbol';">✔</span><span style="font-size: 13.0pt; line-height: 107%;"> Always place website files in **public\_html**  
</span><span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Symbol',sans-serif; mso-bidi-font-family: 'Segoe UI Symbol';">✔</span><span style="font-size: 13.0pt; line-height: 107%;"> File names are **case-sensitive** (Index.html ≠ index.html)  
</span><span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Symbol',sans-serif; mso-bidi-font-family: 'Segoe UI Symbol';">✔</span><span style="font-size: 13.0pt; line-height: 107%;"> One index file per folder is enough  
</span><span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Emoji',sans-serif; mso-bidi-font-family: 'Segoe UI Emoji';">❌</span><span style="font-size: 13.0pt; line-height: 107%;"> Don</span><span style="font-size: 13.0pt; line-height: 107%; mso-ascii-font-family: Aptos; mso-hansi-font-family: Aptos; mso-bidi-font-family: Aptos;">’</span><span style="font-size: 13.0pt; line-height: 107%;">t delete system folders  
</span><span style="font-size: 13.0pt; line-height: 107%; font-family: 'Segoe UI Emoji',sans-serif; mso-bidi-font-family: 'Segoe UI Emoji';">❌</span><span style="font-size: 13.0pt; line-height: 107%;"> Don</span><span style="font-size: 13.0pt; line-height: 107%; mso-ascii-font-family: Aptos; mso-hansi-font-family: Aptos; mso-bidi-font-family: Aptos;">’</span><span style="font-size: 13.0pt; line-height: 107%;">t expect files outside public\_html to be public</span>

---

##### <span style="text-decoration: underline;">**<span style="font-size: 13.0pt; line-height: 107%;">Create Your first HTML page</span>**</span>

- <span style="font-size: 13.0pt; line-height: 107%;">From "File Manager", go to "public\_html"</span>
- <span style="font-size: 13.0pt; line-height: 107%;">*<span style="text-decoration: underline;">Optional</span>*: backup your current index.html file (rename it to index.html-backup)  
    </span>[![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/scaled-1680-/y0Iimage.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/y0Iimage.png)
- Create a new file index.html  
    [![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/scaled-1680-/O2gimage.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/O2gimage.png)
- Right-click on the newly created index.html file and select "Edit"  
    [![image.png](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/scaled-1680-/SqVimage.png)](https://help.cs.uwindsor.ca/uploads/images/gallery/2026-02/SqVimage.png)
- In the new page, place your code, or optionally, copy the following code:  
    ```html
    
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Your Name - Personal Site</title>
        <!-- You can add CSS styling here or link an external CSS file -->
        <style>
            body {
                font-family: sans-serif;
                margin: 40px;
                line-height: 1.6;
            }
            h1 {
                color: #333;
            }
            p {
                color: #666;
            }
        </style>
    </head>
    <body>
        <h1>Hello, I'm [Your Name]</h1>
        <p>Welcome to my personal website!</p>
        <p>I am a student at School of Computer Science at the University of Windsor, and you can learn more about me on this page.</p>
        
        <h2>Interests</h2>
        <ul>
            <li>Coding</li>
            <li>Design</li>
            <li>[Your Other Interest]</li>
        </ul>
    
        <h2>Contact</h2>
        <p>You can reach me via email at [your email address].</p>
    </body>
    </html>
    
    ```
- Then "Save" the page and your refresh your website at [https://yourusername.myweb.cs.uwindsor.ca](https://yourusername.myweb.cs.uwindsor.ca)

Congratulations! You created your first website :)

</body></html>