I have installed SWAG on docker this week, and it starts, but i cant access the default page
I ran this command:
docker create --name=swag
--cap-add=NET_ADMIN
--net=lsio
-e PUID=1000
-e PGID=1000
-e TZ=Europe/London
-e URL=myddns.ddns.net
-e SUBDOMAINS=www,ombi
-e VALIDATION=http
-p 6001:443
-p 6000:80
-v /home/docker/swag:/config
--restart unless-stopped
lscr.io/linuxserver/swag
It produced this output:
2023-02-24T20:16:45.118157254Z Generating new certificate
2023-02-24T20:16:46.864850428Z Saving debug log to /var/log/letsencrypt/letsencrypt.log
2023-02-24T20:16:47.667663156Z Requesting a certificate for myddns.ddns.net and 2 more domains
2023-02-24T20:16:50.442054859Z
2023-02-24T20:16:50.442089264Z Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
2023-02-24T20:16:50.442097449Z Domain: ombi.myddns.ddns.net
2023-02-24T20:16:50.442104743Z Type: dns
2023-02-24T20:16:50.442111596Z Detail: DNS problem: NXDOMAIN looking up A for ombi.myddns.ddns.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for ombi.myddns.ddns.net - check that a DNS record exists for this domain
2023-02-24T20:16:50.442138417Z
2023-02-24T20:16:50.442144659Z Domain: www.myddns.ddns.net
2023-02-24T20:16:50.442150670Z Type: dns
2023-02-24T20:16:50.442156722Z Detail: DNS problem: NXDOMAIN looking up A for www.myddns.ddns.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www.myddns.ddns.net - check that a DNS record exists for this domain
2023-02-24T20:16:50.442163334Z
2023-02-24T20:16:50.442169245Z Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
2023-02-24T20:16:50.442175868Z
2023-02-24T20:16:50.645803499Z Some challenges have failed.
2023-02-24T20:16:50.645967248Z Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
2023-02-24T20:16:50.900586921Z ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the container
I can ssh into the docker container but running curl localhost:80 or 443 doesnt show it exist, i can ping IPs on network and google
my routers port forwarding works fine, as I have tested them against another conatiner that has a web page
I have been on the below
https://letsdebug.net/
http-01 both fail
dan-01 is ok
tls-alpn-01 fails
Im doing basic http, my dns hos my external IP and works for everything else
Any ideas what to try next?