Fresh install CentOS 8 Problems

Lelantis

New member
Joined
Sep 21, 2018
Messages
3
I have a dedicated server on Hetzner and I have made a fresh install of Centos 8.1 and Directadmin.
After solving my first problem I had with the resolv.conf ( using chattr +i /etc/resolv.conf as Jeff suggested ) I am having now a second problem and as much as I have searched can't find a solution and I am not very good at this.

When I try to create an SSL for my hostname I get Error: http://my.host.name/.well-known/acme-challenge/letsencrypt_1587906454 is not reachable. Aborting the script.
The challenge is included in the Alias in httpd-alias.conf, but when i run
I get the error
-bash: http://domain.name/.well-known/acme-challenge/test.txt: No such file or directory
I tried this and with other domains and it is the same with all domains

From my domains the hostname is not resolving, domain.com is not resolving but domain.gr is resolving.
But I can ping and get a response from every domain.

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el8 <<>> A domain.com @123.456.78.90
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21182
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 224309f09c8943enof0902384eu8(good)
;; QUESTION SECTION:
;domain.com. IN A

;; ANSWER SECTION:
domain.com. 14400 IN A 123.456.78.90

;; AUTHORITY SECTION:
domain.com. 14400 IN NS ns2.domain.com.
domain.com. 14400 IN NS ns1.domain.com.

;; Query time: 0 msec
;; SERVER: 123.456.78.90#53(123.456.78.90)
;; WHEN: Sun Apr 26 18:21:05 CEST 2020
;; MSG SIZE rcvd: 141
Anyone knows what is happening.
 

ikkeben

Verified User
Joined
May 22, 2014
Messages
799
Location
Netherlands Germany
TRy to check all DNS related for you hostname with some dnstools ( also reverse)

Sometimes you have to wait for changes coming live a while depending on services and settings of you hoster / dns provider.

Letsencrypt howto for hostname / server DIrectadmin command line here in help / knowledgebase somewhere.
 

Lelantis

New member
Joined
Sep 21, 2018
Messages
3
Yes seems like I got impatient because it was 2 days since I made the changes everything started to work out today a few moments ago.
Thank you for the reply (y)
 
Top