@extends('user.layout') @section('content')
@if (session()->has('domain-success'))

{{session()->get('domain-success') }}

@endif @if ($errors->has('custom_domain'))

{{ $errors->first('custom_domain') }}

@endif
{{__('Custom Domain')}}
@if (empty($rcDomain) || $rcDomain->status != 0) @endif
@if (empty($rcDomain))

{{__('REQUESTED / CONNECTED CUSTOM DOMAIN NOT AVAILABLE')}}

@else
{{__('Requested Domain')}} {{__('Current Domain')}}
@if ($rcDomain->status == 0) {{$rcDomain->requested_domain}} @else - @endif @if (getCdomain(Auth::user())) @php $cdomain = getCdomain(Auth::user()); @endphp {{$cdomain ?? '-'}} @else - @endif
@endif

{{ $be->cname_record_section_title }}

{!! $be->cname_record_section_text !!}
{{__('Add CNAME record (take data from below table) in your custom domain from your domain registrar panel')}}:
@php $parsedUrl = parse_url(url('/')); $host = $parsedUrl['host']; @endphp
{{__('Type')}} {{__('Host')}} {{__('Value')}} {{__('TTL')}}TTL
CNAME @{{$host}}. {{__('leave it to its default value')}}
@endsection