# Domain Analysis for IP 10.40.180.74

## Configured Domains on This Server

### 1. **adminapp.syntheon.in** ✅ IN USE
- **Status**: Active (HTTPS)
- **Port**: 443
- **Document Root**: `/var/www/html/voicebot-admin-web`
- **Size**: 788KB (3 files)
- **Last Modified**: Mar 4, 2026
- **Response**: HTTP 200 OK
- **Purpose**: Admin web interface for voicebot

### 2. **calling.syntheon.in** ✅ IN USE
- **Status**: Active (HTTPS with redirect)
- **Port**: 80 → 443
- **Type**: WebSocket proxy to port 7900
- **Purpose**: Calling/WebSocket service
- **Response**: HTTP 302 (redirects to HTTPS)

### 3. **devapp.syntheon.in** ⚠️ PARTIALLY CONFIGURED
- **Status**: Redirect only (HTTP → HTTPS)
- **Port**: 80
- **Document Root**: `/var/www/html/voicebot-web-live` (in SSL config)
- **Size**: 3.4MB (2 files)
- **Last Modified**: Mar 10, 2026
- **Response**: HTTP 200 OK
- **Note**: Has redirect but SSL config exists separately

### 4. **live.syntheon.in** ✅ IN USE
- **Status**: Active (HTTPS)
- **Port**: 443
- **Document Root**: `/var/www/html/voicebot-web-live`
- **Size**: 3.4MB (2 files)
- **Last Modified**: Mar 10, 2026
- **Response**: HTTP 301 (redirects to HTTPS)
- **Purpose**: Live voicebot web interface

---

## Potentially Unused/Available Directories

### Minimal Usage (Could be repurposed):

1. **data/** - 8KB, 0 files, last modified Feb 13
   - **Status**: ❌ EMPTY - Can be used

2. **mcube-voicebot-call/** - 12KB, 0 files, last modified Mar 12
   - **Status**: ❌ EMPTY - Can be used

3. **postcall-api/** - 4KB, 0 files, last modified Feb 6
   - **Status**: ❌ EMPTY - Can be used

4. **livekit_backend/** - 4KB, 1 file, last modified Mar 19
   - **Status**: ⚠️ MINIMAL - Can be repurposed

---

## Subdomain Suggestions for LiveKit VoiceBot

Since all existing domains (adminapp, calling, devapp, live) are in use, here are options:

### Option 1: Use a New Subdomain (Recommended)
Create a new subdomain like:
- `voicebot.syntheon.in`
- `livekit.syntheon.in`
- `voice.syntheon.in`
- `ai.syntheon.in`

### Option 2: Use Direct IP (Current Setup)
- `http://10.40.180.74` - Already configured, ready to use

### Option 3: Use a Different Port
- `http://10.40.180.74:8080` - Configure Apache on different port

---

## Recommended Action for Your LiveKit VoiceBot

**Use the IP address directly: 10.40.180.74**

This is already configured and ready. Just run:

```bash
sudo cp /tmp/livekit-voicebot.conf /etc/apache2/sites-available/
sudo a2ensite livekit-voicebot.conf
sudo apache2ctl configtest
sudo systemctl reload apache2
```

Then access at: **http://10.40.180.74**

---

## Alternative: Create New Subdomain

If you want a proper subdomain instead of IP:

1. **Choose a name**: e.g., `voicebot.syntheon.in`

2. **Add DNS A record**: Point `voicebot.syntheon.in` to `10.40.180.74`

3. **Update Apache config**:
   ```bash
   # Edit the config file
   sudo nano /tmp/livekit-voicebot.conf
   # Change ServerName from 10.40.180.74 to voicebot.syntheon.in
   ```

4. **Apply configuration**:
   ```bash
   sudo cp /tmp/livekit-voicebot.conf /etc/apache2/sites-available/voicebot.syntheon.in.conf
   sudo a2ensite voicebot.syntheon.in.conf
   sudo systemctl reload apache2
   ```

5. **Optional - Add SSL**:
   ```bash
   sudo certbot --apache -d voicebot.syntheon.in
   ```

---

## Summary

**Currently Configured Domains**: 4 (all in use)
- adminapp.syntheon.in ✅
- calling.syntheon.in ✅
- devapp.syntheon.in ⚠️
- live.syntheon.in ✅

**Empty/Unused Directories**: 3
- /var/www/html/data/ ❌
- /var/www/html/mcube-voicebot-call/ ❌
- /var/www/html/postcall-api/ ❌

**Recommendation**: Use IP address 10.40.180.74 (already configured) or create a new subdomain like `voicebot.syntheon.in`
