@extends('user.layouts.index', ['header' => true, 'nav' => true, 'demo' => true, 'settings' => $settings]) @section('content')
{{-- Failed --}} @if (Session::has('failed')) @endif {{-- Success --}} @if (Session::has('success')) @endif {{-- Note --}}
{{-- Form of request --}}
@csrf
{{-- Without http:// or https:// or www. --}} {{ __('Don\'t use http:// or https:// or www.') }}
{{-- Previous Domain list --}}
{{-- In table --}}

{{ __('Connected Domain') }}

@foreach ($previous_domains as $domain) @endforeach
{{ __('#') }} {{ __('Domain') }} {{ __('Status') }} {{ __('Action') }}
{{ $loop->iteration }} {{ $domain->current_domain }} @if ($domain->transfer_status == 0) {{ __('Processing') }} @elseif ($domain->transfer_status == 1) {{ __('Connected') }} @elseif ($domain->transfer_status == 2) {{ __('Disconnected') }} @else {{ __('Rejected') }} @endif {{-- Unlink domain --}}
{{-- Steps to Add a Custom Domain to Your vCard or Store --}}

{{ __('Steps to Add a Custom Domain to Your vCard or Store') }}

1. {{ __('Access Your DNS Management') }}

  • {{ __('Log in to your domain registrar’s account (e.g., GoDaddy, Namecheap, Bluehost, etc.).') }}
  • {{ __('Navigate to the DNS management section for the domain you wish to connect.') }}

2. {{ __('Add a CNAME Record') }}

  • {{ __('Look for an option to add a new DNS record.') }}
  • {!! __('Choose CNAME as the record type.') !!}
  • {{ __('Fill in the details as follows:') }}
    • {!! __('Host: @ (This represents the root domain.)') !!}
    • {!! __( 'Value: ' . str_replace(['http://', 'https://', 'www.'], '', config('app.url')) . '', ) !!}
    • {!! __('Proxy Status: DNS only') !!}
    • {!! __('TTL: Leave it as the auto or set to your desired value.') !!}
{{ __('Type') }} {{ __('Host') }} {{ __('Value') }} {{ __('Proxy Status') }} {{ __('TTL') }}
CNAME @ {{ str_replace(['http://', 'https://', 'www.'], '', config('app.url')) }} DNS only auto

{{ __('If you are using Cloudflare,') }} {{ __('Please refer to the following link to complete your custom domain.') }}

{{ __('Cloudflare DNS Settings') }}

3. {{ __('Save Changes') }}

  • {{ __('After adding the CNAME record, ensure to save your changes in the DNS management panel.') }}

4. {{ __('Configure Your vCard or Store') }}

  • {{ __('After adding the custom domain to DNS, enter the custom domain you set up') }} {!! __('(e.g., yourdomain.com).',) !!}

5. {{ __('Verification') }}

  • {{ __('After requesting, the custom domain will go to the website admin. They will update you by adding the custom domain name to your vCard or store. Until then, your request will be under processing. It may take some time for the website admin to handle this.') }}

{{ __('Important Note') }}

{{ __('Methods may vary by provider: The steps for adding a CNAME record may differ based on your domain provider. Some registrars might have a different interface or terminology. If you encounter any difficulties, refer to your provider’s documentation or customer support for assistance.') }}

@include('user.includes.footer')
{{-- Unlink domain modal --}} {{-- Custom JS --}} @section('scripts') @endsection @endsection