---
# System prepended metadata

title: Warm Up Project FAQ
tags: [lab]

---


## Q1: 403 Forbidden

- Incorrect File permission
    - Check permission of files under /var/www/html

            sudo ls -l /var/www/html/
            
    - Use ==chmod== to change file permission
            
            sudo chmod 777 /var/www/html/*
        
- Incorrect nginx setting
    - Use ifconfig to check the server IP
            
            ifconfig
            
    - Check settings with correct server IP
            
            sudo vim /etc/nginx/sites-enabled/default
    
- index.html file not exists
    - Check the files under /var/www/html

            sudo ls -l /var/www/html/

---

## Q2: Unable to connect with https

- Use ==http== instead of https, and type the address manually
- Incorrect nginx setting
    - Use ifconfig to check the server IP
            
            ifconfig
            
    - Check settings with correct server IP
            
            sudo vim /etc/nginx/sites-enabled/default

---

## Q3: End Kernel panic

- Change the number of CPU core from ==1 to 2== in the virtualbox setting

---

## Test steps

1. Make sure you can ping the server from the client using "ping {server_ip}"
2. Reload the nginx server 
3. Open the website from "server" side make sure the website is available. And make sure you type "http" instead of "https".
4. Open the website from client VM