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.

Point "top domain" to webserver with letsencrypt

Featured Replies

Hi, I'm using letsencrypt to subdomains to a few of my dockers. 

I would like to point the "top domain" to a web server where I can edit the site. How would I do this? Do I need to install a server or does letsencrypt have one I can use by default? 

 

 

Maybe I'm using the wrong phrases but I can't find anything. 

Sorry for the bad english, I'm tired and english is my second language.

hey! In the config folder of your let's encrypt should be an www folder. There you should put all of your web files. You should also disable the ONLY_SUBDOMAINS variable. The ports of your let's encrypt should be 1443 local and 443 public, 180 local and 80 public

Edited by RossEm

  • Author
1 minute ago, RossEm said:

hey! In the config folder of your let's encrypt should be an www folder. There you should put all of your web files.

Ah yes, I've found this folder. I don't know how to access this folder through my domain outside my network though. The domain itself is also pointed towards the correct IP-adres but it doesn't find anything.

Can you acces it via your public ip?

 

https://PU.BL.IC.IP

Edited by RossEm

  • Author
3 minutes ago, RossEm said:

Can you acces it via your public ip?

 

https://PU.BL.IC.IP

No, I just realised that when I add ":443" after the domain I get a different error message. So it seems like I'm accessing some server.

 

400 Bad Request

The plain HTTP request was sent to HTTPS port

nginx/1.16.1

 

 

You need to put ONLY_SUBDOMAINS on false.

can you send a screenshot of your configuration?

  • Author

image.thumb.png.ba8f14ca277881f2aeaf8da0c956189f.png

Same error as before

  • Author
33 minutes ago, RossEm said:

can you send a screenshot of your configuration?

Seems like it works when I add "https://" in front of it. Do you know if there's a way for me to make it work with only the domain?

is there an option in your dns provider to send all traffic to https?

 

  • Author
10 minutes ago, RossEm said:

is there an option in your dns provider to send all traffic to https?

 

Hm. I'm gonna talk to their support. (Namecheap)

  • Author

@RossEm

 

They were'nt able to fix it however I forwared both port 80 and 443 to my internal https port whiched solved the problem. Can't really think of any disadvantages of this at the moment.

 

EDIT:

Thanks for the help and the quick answers by the way. Happy new! :)

Edited by bjorn

hey thanks! glad to help!

hi! happy new year,

 

You need to change some settings in your "default" file inside appdata/LetsEncrypt/ngix/site-confs

you should add/edit this to the top of the file

 

server {
    listen 80 default_server;
    listen [::]:80 default_server;
    server_name _;
    return 301 https://$host$request_uri;
}

Archived

This topic is now archived and is closed to further replies.

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.