Transferred site from different host and it won't connect although other sites are working fine

SYSTEM INFORMATION
OS type and version DEB13
Webmin version 2.651
Virtualmin version 8.1.0
Webserver version Apache2.4.68
Related packages SUGGESTED

Getting the following errors/warnings when checking connectivity:

DNS resolution failed Failed to lookup collateralrecoveryllc.com and www.collateralrecoveryllc.com Check your system’s firewall to ensure that DNS requests and responses on UDP port 53 are not being blocked.
Nameserver lookup failed Could not find any nameservers for collateralrecoveryllc.com Check that your DNS domain has been registered.
SMTP connection failed Connection timed out Make sure your system’s mail server is running and listening on the external network interface.

DNS:
; cPanel first:11.34.1.5 (update_time):1769097614 Cpanel::ZoneFile::VERSION:1.3 hostname:server.protechworks.com latest:110.0.86
; Zone file for collateralrecoveryllc.com
$TTL 14400
collateralrecoveryllc.com. 86400 IN SOA www.collateralrecoveryllc.com. collateralrecoveryllc.com (
2026070801
3600
7200
1209600
86400 )
; collateralrecoveryllc.com. 86400 IN SOA ns1.collateralrecoveryllc.com collateralrecoveryllc.com. ( ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
; 2017032600 ;Serial Number ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
; 86400 ;refresh ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
; 7200 ;retry ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
; 3600000 ;expire ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
; 86400 ;minimum ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
; ) ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
; collateralrecoveryllc.com. 86400 IN NS ns1.collateralrecoveryllc.com. ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
collateralrecoveryllc.com. 86400s IN NS NS3.collateralrecoveryllc.com.
collateralrecoveryllc.com. 86400s IN NS NS4.collateralrecoveryllc.com.
; collateralrecoveryllc.com. 86400 IN NS ns2.collateralrecoveryllc.com. ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
collateralrecoveryllc.com. 14400 IN A 50.43.63.174
localhost 14400 IN A 127.0.0.1
collateralrecoveryllc.com. 14400 IN MX 0 collateralrecoveryllc.com.
mail 14400 IN CNAME collateralrecoveryllc.com.
www 14400 IN CNAME collateralrecoveryllc.com.
ftp.collateralrecoveryllc.com. 14400 IN A 50.43.63.174
; ftp 14400 IN CNAME collateralrecoveryllc.com. ; Previous value removed by cPanel transfer auto-merge on 20180825221953 GMT
cpanel 14400 IN A 50.43.63.174
whm 14400 IN A 50.43.63.174
webmail 14400 IN A 50.43.63.174
webdisk 14400 IN A 50.43.63.174
autoconfig 14400 IN A 50.43.63.174
autodiscover 14400 IN A 50.43.63.174
_autodiscover._tcp 14400 IN SRV 0 0 443 collateralrecoveryllc.com.
collateralrecoveryllc.com. 14400 IN TXT “spf2.0/pra a mx ip4:50.43.63.174 ?all”
default._domainkey 14400 IN TXT “v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCv8sl6S1Adp/vbuTGQnq37ndWRaX/6upsaUYnmJFEfjiM9Ui3D2TYwqbcd9vy0KUDjFhKi9iOcTwECPzVUwPQCslzM9js5FPmlOV9is9n66gCZSQiuqFeJu+lUF2CHHwbIgFBb5DCk17Z3YBlyivZrRq5VpPJ9iVfhG8fVcH4CcQIDAQAB;”
collateralrecoveryllc.com. 14400 IN TXT “v=spf1 +a +mx +ip4:50.43.63.174 ~all”
cpcalendars 14400 IN A 50.43.63.174
_caldav._tcp 14400 IN SRV 0 0 2079 collateralrecoveryllc.com.
_caldavs._tcp 14400 IN SRV 0 0 2080 collateralrecoveryllc.com.
_carddav._tcp 14400 IN SRV 0 0 2079 collateralrecoveryllc.com.
_carddavs._tcp 14400 IN SRV 0 0 2080 collateralrecoveryllc.com.
_caldav._tcp 14400 IN TXT path=/
_caldavs._tcp 14400 IN TXT path=/
_carddav._tcp 14400 IN TXT path=/
_carddavs._tcp 14400 IN TXT path=/
cpcontacts 14400 IN A 50.43.63.174
_cpanel-dcv-test-record 14400 IN TXT _cpanel-dcv-test-record=XqbZBSWNgERXhCCbRHY3cKraMMuzaypMqITaTCTUmbRe6O9RAg6MzO14lNfycjWG
_acme-challenge 14400 IN TXT ElLOYKbRJWEYN9oDSoLZC2RA8GzLGVyziPY8CngPJaM
collateralrecoveryllc.com. IN NS collateralrecoveryllc.com.
NS3.collateralrecoveryllc.com. IN A 50.43.63.174
NS4.collateralrecoveryllc.com. IN A 50.43.63.174

Apache:
SuexecUserGroup #1027 #1005
ServerName collateralrecoveryllc.com
ServerAlias www.collateralrecoveryllc.com
ServerAlias mail.collateralrecoveryllc.com
ServerAlias webmail.collateralrecoveryllc.com
ServerAlias admin.collateralrecoveryllc.com
ServerAlias autoconfig.collateralrecoveryllc.com
ServerAlias autodiscover.collateralrecoveryllc.com
ServerAlias recovercollateral.com
ServerAlias www.recovercollateral.com
ServerAlias mail.recovercollateral.com
ServerAlias webmail.recovercollateral.com
ServerAlias admin.recovercollateral.com
DocumentRoot /home/collateralrecoveryllc.com/public_html
ErrorLog /var/log/virtualmin/collateralrecoveryllc.com_error_log
CustomLog /var/log/virtualmin/collateralrecoveryllc.com_access_log combined
ScriptAlias /cgi-bin /home/collateralrecoveryllc.com/public_html/cgi-bin
ScriptAlias /AutoDiscover/AutoDiscover.xml /home/collateralrecoveryllc.com/public_html/cgi-bin/autoconfig.cgi
ScriptAlias /Autodiscover/Autodiscover.xml /home/collateralrecoveryllc.com/public_html/cgi-bin/autoconfig.cgi
ScriptAlias /autodiscover/autodiscover.xml /home/collateralrecoveryllc.com/public_html/cgi-bin/autoconfig.cgi
DirectoryIndex index.php index.htm index.html
<Directory /home/collateralrecoveryllc.com/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddHandler fcgid-script .php
AddHandler fcgid-script .php8.4
FCGIWrapper /home/collateralrecoveryllc.com/fcgi-bin/php8.4.fcgi .php
FCGIWrapper /home/collateralrecoveryllc.com/fcgi-bin/php8.4.fcgi .php8.4

<Directory /home/collateralrecoveryllc.com/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch

ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^ https://www.collateralrecoveryllc.com%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} =webmail.collateralrecoveryllc.com
RewriteRule ^/(?!.well-known)(.)$ https://collateralrecoveryllc.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.collateralrecoveryllc.com
RewriteRule ^/(?!.well-known)(.
)$ https://collateralrecoveryllc.com:10101/ [R]
RemoveHandler .php
RemoveHandler .php8.4
FcgidMaxRequestLen 1073741824
RedirectMatch ^/awstats$ /awstats/

AuthName “collateralrecoveryllc.com statistics”
AuthType Basic
AuthUserFile /home/collateralrecoveryllc.com/.awstats-htpasswd
require valid-user

Redirect /mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
Redirect /.well-known/autoconfig/mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
IPCCommTimeout 301
RewriteCond %{HTTP_HOST} =webmail.recovercollateral.com
RewriteRule ^/(?!.well-known)(.)$ https://recovercollateral.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.recovercollateral.com
RewriteRule ^/(?!.well-known)(.
)$ https://recovercollateral.com:10101/ [R]

Everything appears in order but it’s not able to show up externally eventhough the few other sites are working just fine including emails.

These name servers do not resolve, if these names are real you need to fix the resolution of these name servers
have a read of this

mxtools report this

How do you fix a loop detected error? I keep doing some research on this and nothing seems to make since. Godaddy had me remove the nameservers then re-add them and that did nothing. It’s set up exactly like my other domains I have and it’s still not working.

On mxtools when I click find problems, I just get:
Unable to resolve “collateralrecoveryllc.com” to an IP address.

and if you look at the dns records I posted above it clearly has an IP address assigned which is the same IP’s other domains that work have.

You teally need to sort out your dns, best thing to do is to do is use your providers dns name servers rather than your local bind installation. This will save you the bother of trying to set up the dns locally

Just thought, your import has brought over alot of canpel stuff that not need and I see nothing apart from default dns setting for www mail etc. The SOA is set to a ns1 where you only had ns3 and ns4 set at registrar.
Maybe disable DNS for the domain and re-enable and see if that sets a default DNS settings that are needed (hopefully get rid of all that unwanted stuff). Check template setting for the default dns name and adjust.

I reset records and it works now. Something within the configuration from cpanel obviously was causing some sort of problems. Getting rid of the entries with _ on them I think is what did it. Either way I can start fresh and add what I need as needed. Thanks for the attempted help everyone.