@extends('layouts.app') @section('title', 'Domain Details') @section('content')

{{ $sellerDomain->domain }}

Custom domain configuration and verification

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Status

@if($sellerDomain->isVerified()) Active @else Pending @endif

Primary Domain

@if($sellerDomain->is_primary) Yes @else No @endif

Default Page

{{ $sellerDomain->defaultSalesPage->name ?? 'Not Set' }}

Added

{{ $sellerDomain->created_at->diffForHumans() }}

@if(!$sellerDomain->isVerified())

Domain Verification Required

Follow these steps to verify and activate your custom domain

Step 1: Configure DNS Records

Add the following DNS records at your domain registrar or DNS provider:

A RECORD
A
@
YOUR_SERVER_IP

Replace YOUR_SERVER_IP with your actual server IP address

CNAME RECORD (Optional)
CNAME
www
{{ $sellerDomain->domain }}

Add this record if you want www.{{ $sellerDomain->domain }} to work

Step 2: SSL Configuration (Cloudflare Recommended)

For SSL/HTTPS support, we recommend using Cloudflare:

  • Point your domain nameservers to Cloudflare
  • Enable "Full" or "Full (strict)" SSL/TLS encryption mode
  • Turn on "Always Use HTTPS" option
  • Cloudflare will automatically provide free SSL certificate

Step 3: Verification Token

Your verification token (for future automated verification):

{{ $sellerDomain->verification_token }}

Step 4: Wait for DNS Propagation

DNS changes can take 24-48 hours to fully propagate worldwide. You can check propagation status at dnschecker.org

Step 5: Verify Domain

Once DNS records are configured and propagated, click the button below to verify your domain:

@csrf

Important Notes

  • Make sure your DNS records point to the correct server IP address
  • Your domain will not work until it's verified and activated
  • All your sales pages will be accessible via: {{ $sellerDomain->domain }}/page-slug
  • @if($sellerDomain->defaultSalesPage)
  • Your default page "{{ $sellerDomain->defaultSalesPage->name }}" will appear at: {{ $sellerDomain->domain }}
  • @endif
@else

Domain Verified & Active

Your domain was verified on {{ $sellerDomain->verified_at->format('M d, Y \a\t g:i A') }}

Domain Information

@if($sellerDomain->defaultSalesPage)
@endif @if($sellerDomain->notes)
@endif

How Your Pages Work with This Domain

All your sales pages are accessible via your custom domain

Access Your Pages

@if($sellerDomain->defaultSalesPage)

Domain Root (/):

{{ $sellerDomain->url }} → Shows "{{ $sellerDomain->defaultSalesPage->name }}"

@endif

Individual Sales Pages:

{{ $sellerDomain->url }}/your-page-slug

Note: Page slugs remain the same, just accessed via your custom domain instead of the platform domain.

@endif
@endsection