Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Create webserver with swag, cloudflare and own domain name

Featured Replies

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

: 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!!

 

Edited by adrie

  • adrie changed the title to Create webserver with swag, cloudflare and own domain name
  • Author

I tried some things withe portforwarding and now i get the following

 

when is set the encryption mode to Flexible on cloudflare en i go to https://xxxx.nl i get the login screen for my unraid server

en when i set the encryption mode to Full i get the message webserver is down code 521

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.