Domains - {{ $account->username }} Domains
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif @php $ownedDomainHosts = $ownedDomains->map(fn ($d) => (string) $d)->all(); $oldDomain = trim((string) old('domain', '')); $initialDomainSource = $ownedDomains->isEmpty() ? 'external' : ((string) old('is_owned_domain', '1') === '0' ? 'external' : 'ladill'); $selectedOwnedDomain = in_array($oldDomain, $ownedDomainHosts, true) ? $oldDomain : ''; $externalFallbackDomain = ! in_array($oldDomain, $ownedDomainHosts, true) ? $oldDomain : ''; @endphp

Add Domain

@csrf {{-- Domain Source Toggle --}}
{{-- Ladill (Owned) Domains --}}
@if($ownedDomains->isNotEmpty())

Don't have a domain? Purchase one first

@else
No domains found in your account. Register a domain
@endif
{{-- External Domain --}}

Enter your domain without www or http (e.g., example.com)

@error('domain')

{{ $message }}

@enderror
{{-- Onboarding Mode (External only) --}}
@error('onboarding_mode')

{{ $message }}

@enderror
{{-- Document Root (optional, both flows) --}}

Leave empty to use default: public_html/domain.com

Your Domains

@if($account->sites->count()) @foreach($account->sites as $site) @endforeach
Domain Document Root Status Actions
{{ $site->domain }}
{{ $site->document_root }} {{ ucfirst($site->status) }} @if((int) $account->user_id === (int) auth()->id()) @else Owner only @endif
@else
@include('components.icons.domain-globe', ['class' => 'mx-auto h-12 w-12 text-slate-300'])

No addon domains yet. Add one above.

@endif
@php $serverIp = $account->node?->ip_address ?? '161.97.138.149'; @endphp {{-- DNS Quick Reference --}}

DNS Quick Reference

Use one of these methods to connect an external domain:

Nameservers

Recommended
ns1.ladill.com
ns2.ladill.com

A Records

Type Name Value
A @ {{ $serverIp }}
A www {{ $serverIp }}

DNS changes can take up to 24–48 hours.