Hello first of all sorry for the bad English!
My goal is to create a webserver for wordpress with swag so i folowed a lot of tutorials on this forum and the internet and can't get it to work so maby somebody here can help me.
This is what i dis so far
1 : i bought a domainname
2 : Pointed A record to my IP
3 : i forwarder the ports to my server 80 to 180 and 443 to 1443 to my server IP 192.168.1.150
4 : in unraid i installed swag and changed te ports to 180 and 1443 and used a custom network typ (proxynet like the video tutorial from spaceinvaders one, how to setup reverse proxy)
5 : in swag i set my domainname xxxxx.nl
6 : no subdomains needed so far
then i hit aplly and swag is started and the log gives an error for creating an certificate, i tried i few things with port forwarding but nothing works i think it has to do with port 80 is blocked i think so i search the internet and came up with the posibility to create certificate with dns and cloudflare, so this is what i did next
1 : setup an account with cloudflare and point the nameservers of my domain to cloudflaire, after some hours cloudflare was setup and ready to go
2 : in cloudflare i ponted with an A record to my Ip
3 : in swag i changed validation to dns
4 : set the correct credentials in de cloudflare.ini
then i hit start and yesss the certificate was created and the server was running no more errors in the log
then i went to my domain https://xxxx.nl and got an connection timeoutpage from cloudflare with error 522
then i went to h https://www.xxxx.nl and the same thing
then i went to https://xxx.nl:1443 and got site not reachable
O and i found an answer on this forum to change the settings in ssl of cloudflare to 'SSL/TLS encryption mode is Full' i did this and stil the same
At home if i go to https://192.168.1.150:1443 it works fine
im trying to get this working for weeks now, uninstalling everything and started over but stil the same thing, maby somebody here can help me please!!