Server Documentation & Management Hub

🚀 Services Overview

Service URL Description
Common Dashboard https://dashboard.codebyjawad.com This Hub
n8n Automation https://n8n.codebyjawad.com Workflow Automation Platform
Webmail https://mail.codebyjawad.com Roundcube Webmail Client
Mail Admin https://mail.codebyjawad.com/iredadmin/ Manage Domains, Users, Quotas

🔑 Credentials

(Stored securely in /root/server_creds.txt on the VPS)


🛠️ Management Guide

1. Managing Emails

Create New User:

  1. Go to Mail Admin Panel.
  2. Login as Postmaster.
  3. Click Add... > User.

Create Aliases (e.g. jawad@ -> me@):

  1. Go to Mail Admin Panel.
  2. Navigate to User Profile > Aliases.
  3. Add the new alias.
  4. Important: To send as this alias, add an "Identity" in Roundcube Webmail Settings.

Email Forwarding:

  1. Login to Webmail as the user.
  2. Go to Settings > Filters.
  3. Create a new Filter: "Send copy to" -> Target Email.

2. Troubleshooting

Logs:

Common Fixes Applied:

3. DNS Configuration (Reference)

Ensure your DNS provider has these records:

4. Backup & Restore (Clone Server)

A dedicated backup script is installed at /root/projects/migration/backup.sh.

How to Backup:

  1. Connect to the server via SSH.
  2. Run the backup script:
    /root/projects/migration/backup.sh
    
  3. The script will generate a .tar.gz file containing all emails, databases, and configurations.
  4. Download the file to your local computer:
    scp root@dashboard.codebyjawad.com:/root/projects/migration/backups/full_server_backup_YYYYMMDD_HHMMSS.tar.gz ./backup.tar.gz
    

How to Restore (On a new server):

  1. Upload the backup file to / on the new server.
  2. Extract it: tar -xzvf backup.tar.gz -C /
  3. Restore Database: mysql < /root/projects/migration/backups/all_databases.sql
  4. Reboot the server.

🤖 System Status