NextZen-Doc/Instructions for use by features/Website Management - NextWeb.md
2025-01-21 18:05:13 +07:00

222 lines
6.1 KiB
Markdown

### Instructions for using NextWeb
Function: Manage, create, store, operate website, issue SSL certificate for domain names
### Login to the NextWeb
- Step 1: Customers Access IP address: http://10.0.0.10/board -> **NextWeb**
![[Por_11.png]]
- Step 2: Enter information in order into the boxes -> **Create account**
![[Pasted image 20240503235827.png]]
- Step 3: After successfully creating an account, enter **Username**, **Password** -> **Login**
![[Por_13.png]]
- Step 4: Log in successfully, the interface displays
![[Por_14.png]]
Available websites have a .local domain name representing the access path in the system
### Dashboard Overview
![[Por_15.png]]
### Create new Website
**There are 6 types of websites you can create**:
- WordPress
- PHP
- Node.js
- Static HTML
- Python
- Reverse Proxy
**Ex: Create a WordPress site**
- Step 1: Select **Site List** -> **+ADD SITE**
- Step 2: Choose the type of website you want (Ex: WordPress)
![[Pasted image 20240504000104.png]]
- Step 3: Enter **information**:
- Domain name: The domain name you connected to Portainer
- Site title: Title for the page
- Site User: The primary SSH account for the site
- Administrator name: Account to access the Wordpress administration page
- Password: Can be self-generated or randomly generated
- Administrator email: Email to recover password
Then click **Create**
![[Por_35.png]]
- Step 4: Successfully created interface -> **Return to website**
![[Por_19.png]]
### Make any application a domain name
- Step 1: Select **Site List** -> **+ADD SITE**
- Step 2: Select **"Create a PHP website"**
![[Pasted image 20240504000130.png]]
Step 3: Select the application you want to create (pre-configured applications for popular services)
![[Pasted image 20240318103926.png]]
Step 4: Enter **information**:
- Domain name: The domain name you connected to Portainer
- PHP version
- Site User: The primary SSH account for the site
- Website user password: Can be self-generated or randomly generated
Then -> **Generate**
![[Por_42.png]]
- After you successfully put the application into a domain name. You can directly access the application under the newly created domain name
### Issue SSL certificate for domain name
After you create a website, you will see a security warning from your browser
To make your website absolutely secure, you need to provide SSL
- Step 1: Select the website you want to secure -> Click **website name** or **manage**
![[Por_36.png]]
- Step 2: Select **SSL/TLS**
![[Por_37.png]]
- Step 3: In the Certificate section -> Select **Action** -> Select certificate, you can choose 1 of 2 ways:
+ Method 1: Add a new Let's Encrypt certificate
+ Method 2: Import certificate
![[Por_40.png]]
Method 1: Add a new Let's Encrypt certificate
![[Por_38.png]]
Select **Create and install** to complete the certificate and automatically renew after 3 months.
![[Por_22.png]]
Method 2: Import certificate
![[Por_39.png]]
Enter **Private Key**, **Certificate**, **Certificate Chain** -> Select **Import and Install** to complete certificate issuance
![[Pasted image 20240314160200.png]]
**Your website has now been granted SSL**
### Delete website
- Step 1: Select the website you want to delete (Click **website name** or **manage**) -> **Delete website**
![[Por_24.png]]
- Step 2: **Enter confirmation** -> **Delete website**
![[Por_25.png]]
### Edit Website
- Select **Manage** -> Adjust parameters in **Settings**
![[Pasted image 20240314161030.png]]
![[Pasted image 20240314161047.png]]
![[Pasted image 20240314161116.png]]
### Database management
- Step 1: Select the website you want to select -> Click **website name** or **manage** -> **Database**
- Step 2: In Database Account -> **Manage**
![[Por_26.png]]
- Step 3: The website redirects to phpMyAdmin and you can make changes and manage the database
![[Pasted image 20240314161534.png]]
![[Pasted image 20240314161534.png]]
### Varnish buffer
- The utility speeds up the website by loading the cache
![[Pasted image 20240314161820.png]]
### Security
Basic security methods
- Block IP: Add an IP address and block it
![[Pasted image 20240314162020.png]]
- Chop Bots
![[Pasted image 20240314162043.png]]
- Basic authentication: Create an authentication layer
![[Pasted image 20240314162110.png]]
- CloudFlare: The identifier must point to Cloudflare and the proxy needs to be enabled for your dns records
![[Pasted image 20240314162143.png]]
### File management
- Select the website you want to select (Click **website name** or **manage**) -> **File management**
![[Pasted image 20240314162404.png]]
### Create Cron Jobs
- Select the website you want to select (Click **website name** or **manage**) -> **Cron Jobs**
- You can schedule repetitions in many modes
![[Pasted image 20240314162523.png]]
### Diary
- Select the website you want to select (Click **website name** or **manage**) -> **Diary**
- View user access logs
![[Pasted image 20240314162726.png]]
### Create a management account
You can assign any website to a new admin account
- Step 1: Select **Admin Area** ->**Account**-> **Add Account**
- Step 2: Enter information:
![[Por_27.png]]
### Event
- Select **Admin Area** -> **Events**
- Statistics on access history and operations on the Webserver
![[Pasted image 20240314163316.png]]
### Sao lưu
- Select **Admin Area** -> **Backup**
- You can automatically back up your website to the following providers:
+ Amazon S3
+ Wasabi
+ Digital Ocean Spaces
+ Dropbox
+ Google Drive
+ SFTP
+ Custom Rclone Config
![[Pasted image 20240314163408.png]]
### Create domain name for Webserver
- Select **Admin Area** -> **Settings** -> Assign new domain -> **Save**
- Assign a domain name to the webserver instead of accessing by IP address
![[Pasted image 20240314163519.png]]
### Change the database server
- Select **Admin Area** -> **Settings** -> **Database Server** -> Add Database Server -> **Save**
![[Pasted image 20240314163620.png]]
### Change Webserver account password
- Step 1: Select Account -> **Settings**
- Step 2: Change account information
![[Pasted image 20240314163802.png]]
- Step 3: Select **Save**