Server Documentation & Management Hub
🚀 1. Services & Access
| Service | URL | Description |
|---|---|---|
| Common Dashboard | https://dashboard.codebyjawad.com | Central Hub |
| DNS Monitor | https://dns-monitor.codebyjawad.com | DNS Tracking & Alerts |
| n8n Automation | https://n8n.codebyjawad.com | Workflow Automation |
| Webmail | https://mail.codebyjawad.com | Roundcube Client |
| Mail Admin | https://mail.codebyjawad.com/iredadmin/ | iRedMail Admin Panel |
🔐 2. Credentials
(Stored securely in /root/server_creds.txt on the VPS)
| Account Type | Username | Password |
|---|---|---|
| Database Root | root |
FJ3uRsVsJjNpvdgg |
| Postmaster Admin | postmaster@codebyjawad.com |
x09UuAvXsJMBUzZ9 |
| Sales User | rdp-sales@codebyjawad.com |
FB0sKACNvHbrzcFy |
| Admin User | me@codebyjawad.com |
uNnJ1Qg8jC3jeL1I |
👁️ 3. DNS Monitor Features
Real-time tracking of DNS health and security.
Core Capabilities
- Comprehensive Monitoring: Checks A, AAAA, MX, CNAME, NS, TXT, DMARC, and DKIM records.
- Security Focus:
- DMARC: Validates email policy.
- DKIM: Automatically scans
default,google,dkim, and_dkimselectors.
- Smart History:
- Logs all changes (Updates, Inits, Errors).
- Logs "Routine Checks" (Gray) to confirm uptime even when no changes occur.
- Filter: View logs by Domain or Event Type (Update/Error/Check).
- Management: Option to Clear History for specific domains or globally.
Advanced Usage
- Custom DKIM Selectors:
- If your email provider uses a non-standard selector (e.g.,
k1orpicnic), click your domain card. - In the Settings Panel (sidebar), add it to the comma-separated list.
- Example:
default,google,picnic
- If your email provider uses a non-standard selector (e.g.,
- Visual Status:
- Green/Red Dot: Instant "Active" or "Error" status on card.
- Copy Button: Quickly copy domain name.
- Grouped Records: Records are organized by "Core", "Mail", and "Security".
📧 4. Email Administration
Create New Users
- Log in to Mail Admin Panel as
postmaster. - Navigate to Add... > User.
- Fill in the details and quota (Default: 1024 MB).
Email Aliases (Receive Only)
Useful for having jawad@ deliver to me@.
- In Mail Admin Panel, go to the User's profile.
- Click the Aliases tab.
- Add the desired alias address.
- Send As Alias: Go to Webmail > Settings > Identities to add it as a sender.
Email Forwarding (Send Copy)
Useful for forwarding mails to Gmail.
- Log in to Webmail as the user.
- Go to Settings > Filters.
- Create a new specific filter:
- Scope: All Messages
- Action: Send copy to ->
destination@example.com
💾 5. Backup & Restore
A dedicated migration script is located at: /root/projects/migration/backup.sh
How to Backup (Clone)
- SSH into the server.
- Run the script:
/root/projects/migration/backup.sh - Download the archive:
scp root@dashboard.codebyjawad.com:/root/projects/migration/backups/full_server_backup_YYYYMMDD_HHMMSS.tar.gz ./my_backup.tar.gz
How to Restore
- Upload the
.tar.gzfile to the new server's root (/). - Extract:
tar -xzvf my_backup.tar.gz -C / - Restore Database:
mysql < /root/projects/migration/backups/all_databases.sql - Reboot.
🛠️ 6. Maintenance & Troubleshooting
Important Log Files
- DNS Monitor:
journalctl -u dns-monitor -f(Real-time logs) - Mail Delivery:
/var/log/mail.log(Check here if emails fail) - Web Server:
/var/log/nginx/error.log - System:
/var/log/syslog
Common Actions
- Restart DNS Monitor:
systemctl restart dns-monitor - Update System:
apt update && apt upgrade -y - Renew SSL:
certbot renew(Automatic, but can be forced) - Restart Mail Services:
systemctl restart postfix dovecot nginx - Firewall Status:
ufw status
🌐 7. Network & DNS Reference
| Type | Name | Value | Priority |
|---|---|---|---|
| A | mail, n8n, dashboard, dns-monitor |
62.84.176.23 |
- |
| MX | codebyjawad.com |
mail.codebyjawad.com |
10 |
| TXT | @ (SPF) |
v=spf1 ip4:62.84.176.23 ~all |
- |
| TXT | _dmarc |
v=DMARC1; p=none; |
- |
| ptr | Reverse DNS | mail.codebyjawad.com |
(Set in Contabo Panel) |
🤖 8. System Specifications
- OS: Ubuntu Linux
- Node.js: v24.12.0
- Web Server: Nginx (Reverse Proxy)
- Database: MariaDB & SQLite (DNS Monitor)
- Mail Stack: Postfix, Dovecot, iRedMail