### Portainer **Portainer** is an application management tool with an intuitive and easy-to-use interface ### Login to Portainer - Step 1: Customers Access IP address: http://10.0.0.10/board -> **App Manager** ![[Por_1.png]] - Step 2: Enter **Username** and **Password** -> **Login** ![[Pasted image 20240411205639.png]] - Step 3: The App Manager interface appears ### Manage applications on Webserver - After successfully logging in, Select **WebServer Apps** ![[Por_3.png]] - Dashboard display interface ![[Pasted image 20240315184939.png]] ### Automatically add IP addresses to domain names - Step 1: Select **App Templates** -> **NextZen Cloudflare DDNS** ![[Instructions for use by features/Z_Tài Nguyên/z_DataImg/t3.png]] - Step 2: Enter the information: + Enter name: Enter the full domain name + Enter DOMAIN: Enter main domain name (Ex: cstsoft.com) + Enter SUBDOMAIN: Enter the subdomain if any (Ex: fire.cstsoft.com, only enter fire) + Enter Email: Enter the email registered to the Cloudflare domain management account + Enter GLOBAL API KEY: Enter Cloudflare GLOBAL API KEY according to account ![[Pasted image 20240315154444.png]] - Step 3: Then select **Deploy the container** to complete. ![[Por_6.png]] - After successful Deploy, the interface displays a list of **Containers** ![[Pasted image 20240318100157.png]] ### Quickly create a new domain name For domains previously connected to CloudFlare, you can quickly create additional SUBDOMAIN for the domain by duplicating the Container you just created. - Step 1: Select **Container** -> Click **Container** corresponding to the domain name you just created or existing. ![[Pasted image 20240411210110.png]] - Step 2: On the **Action** bar -> Select **Duplicate/Edit** ![[Instructions for use by features/Z_Tài Nguyên/z_DataImg/t4.png]] - Step 3: Fill in all DOMAIN and SUBDOMAIN ![[Instructions for use by features/Z_Tài Nguyên/z_DataImg/t5.png]] - Step 4: In **Advanced container settings** -> **Env** - Step 5: In Env -> Edit **SUBDOMAIN** ![[Instructions for use by features/Z_Tài Nguyên/z_DataImg/t8.png]] - Step 6: Select **Deploy the container** and complete. ![[Instructions for use by features/Z_Tài Nguyên/z_DataImg/t7.png]] ### Created application operations - Step 1: Go to **Container** -> Select **Application** you want to operate - Step 2: On the **Action** bar displays the following functions: - Start: Launch - Kill: Stop - Restart: Restart - Pause: Pause - Resume: Continue - Remove: Delete ![[Por_10.png]] - Step 3: Choose the function you want. ### Domain Management - CloudFlare **CloudFlare** is a domain name management party and customers transfer domain names to Cloudflare for management ### Create a CloudFlare account for configuration - Visit website [**CloudFlare**](https://www.cloudflare.com/) -> **Sign Up** to create an account - Enter **Email** and **Password** -> **Sign Up** ![[CF_1.png]] ### Transfer domain name to Cloudflare for management - Step 1: After successful registration, you need to **enter domain name** -> **Continue** ![[CF_5.png]] - Step 2: Then, choose the **free** package then select **continue** ![[CF_6.png]] - Step 3: Cloudflare scans your website's existing records -> **Continue** ![[Pasted image 20240314135544.png]] - Step 4: Log in to your domain management account and change DNS 2 Cloudflare's nameservers to connect to Cloudflare ![[CF_7.png]] - Successful connection status ### How to get GLOBAL API KEY - Step 1: To get the **Global API Key**, log in to Cloudflare then go to **My Profile** - Step 2: Here, select the tab **API Tokens** and scroll down and click on the View button in the section **Global API Key** ![[CF_10.png]] - Step 3: After entering the password and verifying the captcha, you will see API Tokens ![[Pasted image 20240315192620.png]]