Fix domain format to match desired pattern
Changed from double subdomain format (anna.recruitai.startanaicompany.com)
to single concatenated format (annarecruit.startanaicompany.com).
Changes:
- deploy-to-coolify.example.sh: Updated FULL_DOMAIN to ${SUBDOMAIN}recruit.startanaicompany.com
- .env.example: Updated comment to show correct example (annarecruit.startanaicompany.com)
- README.md: Updated domain examples to use correct format
- COOLIFY_SETUP.md: Updated all DNS and domain examples to use correct format
This ensures deployments generate domains like:
- annarecruit.startanaicompany.com (when SUBDOMAIN=anna)
- johnrecruit.startanaicompany.com (when SUBDOMAIN=john)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -126,7 +126,7 @@ chmod +x deploy-to-coolify.sh
|
||||
|
||||
The script will:
|
||||
- Create a Coolify application
|
||||
- Configure the domain (subdomain.recruitai.startanaicompany.com)
|
||||
- Configure the domain (subdomainrecruit.startanaicompany.com)
|
||||
- Set up Traefik labels for HTTPS
|
||||
- Configure webhook for automatic deployments
|
||||
- Trigger initial deployment
|
||||
@@ -136,7 +136,7 @@ The script will:
|
||||
Add a CNAME record in Cloudflare (or your DNS provider):
|
||||
|
||||
- **Type**: CNAME
|
||||
- **Name**: `acme.recruitai` (or your subdomain)
|
||||
- **Name**: `acmerecruit` (or your subdomain + "recruit")
|
||||
- **Target**: `app.coolify.io` (or your Coolify instance domain)
|
||||
- **Proxy**: Enabled (for Cloudflare)
|
||||
|
||||
@@ -145,8 +145,8 @@ Wait 2-3 minutes for DNS propagation and deployment to complete.
|
||||
### 6. Access Your Site
|
||||
|
||||
Your site will be available at:
|
||||
- **Public Site**: `https://acme.recruitai.startanaicompany.com`
|
||||
- **Admin Panel**: `https://acme.recruitai.startanaicompany.com/admin/login`
|
||||
- **Public Site**: `https://acmerecruit.startanaicompany.com`
|
||||
- **Admin Panel**: `https://acmerecruit.startanaicompany.com/admin/login`
|
||||
|
||||
On first visit to admin, create your admin account.
|
||||
|
||||
@@ -190,7 +190,7 @@ Should show a webhook with URL: `https://app.coolify.io/api/v1/deploy?uuid=...`
|
||||
|
||||
Check DNS configuration:
|
||||
```bash
|
||||
dig acme.recruitai.startanaicompany.com
|
||||
dig acmerecruit.startanaicompany.com
|
||||
```
|
||||
|
||||
Should point to your Coolify server or Cloudflare.
|
||||
|
||||
Reference in New Issue
Block a user