@extends('layouts.app') @section('site_title', formatTitle([__('New'), __('Domain'), config('settings.title')])) @section('content')
@include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => request()->is('admin/*') ? route('admin.dashboard') : route('dashboard'), 'title' => request()->is('admin/*') ? __('Admin') : __('Home')], ['url' => request()->is('admin/*') ? route('admin.domains') : route('domains'), 'title' => __('Domains')], ['title' => __('New')], ]])

{{ __('New') }}

{{ __('Domain') }}
{{ __('Expert level') }}
@include('shared.message') @if(request()->is('admin/*'))
{{ __('This domain will be available as a plan feature.') }}
@endif
@csrf @if(request()->is('admin/*')) @endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif {!! __('The DNS of the domain must include an A record pointing to :ip, or a CNAME record pointing to :domain.', ['ip' => '' . getHostIp() . '', 'domain' => '' . parse_url(config('app.url'), PHP_URL_HOST) . '']) !!}
@if ($errors->has('homepage_url')) {{ $errors->first('homepage_url') }} @endif {{ __('The URL to which visitors are redirected when accessing the website\'s homepage.') }}
@if ($errors->has('not_found_url')) {{ $errors->first('not_found_url') }} @endif {{ __('The URL to which visitors are redirected when a link does not exist.') }}
@endsection @if(request()->is('admin/*')) @include('shared.sidebars.admin') @else @include('shared.sidebars.user') @endif