Host Your Website From Home | Windows Docker | WSL2 Lan Fix | Nginx Proxy Manager

preview_player
Показать описание
#Nginxproxymanager #docker #windows11 #wsl2 #selfhosted #portainer #nginx #bsnl #portforwarding

WSL LAN issue fixed, SSL with LetsEncrypt,
Host Your website from home using Nginx Proxy Manager in a Docker.

Docker Images used- NginxProxyManager, Wordpresss Stack, Nginx Phpmyadmin, MySql Database , Portainer.

--------------------
Steps
--------------------
2. Open powershell and go to the NginxProxyManager directory and run (docker-compose up) command

4.Add LetsEncrypt ssl using cloudflare API token.
4.1. Go to cloudflare and add subdomain and create API token for LetsEncrypt.

5.Copy IP from WSL shell (ubuntu or Docker-Desktop) and Unblock some ports like 80, 443, 9443, 8001 9443 etc from WSL2
6. Now restart nginxproxymanager and check its working on LAN. Test with your LAN IP on browser. You can see your ip using ipconfig on cmd or powershell.
7.Check the nginxproxymanager Congratulations! Page on localhost, yourLanIP.
8.If you have not enabled ports 80, 443 on windows firewall then you should open these two ports from windows firewall.
9.Login to you router using 192.168.1.1 and port forward 80, 443
10.Install Wordpress Docker Stack- (Wordpress, Nginx, phpmyadmin DB)
11. PORTAINER- Go to portainer docker website choose WSL and follow the instruction.
12. Add Webserver to NginxProxyManager-Default network so that it can access the port 80 website internally on docker with hostname.
13.Once Your Wordpress Database is ready on docker stack then Go to your Domain/Subdomain and run the Wordpress installation.
12.Now Login to wordpress and start Designing your website or you can try already existing website. (upload limit is increased to 2 GB using config file, its on previous video)

Thanks For Watching.
Рекомендации по теме
Комментарии
Автор

Thanks for the only video which explains everything ❤❤❤unlike others just explain key point for pros

latesthollywood
Автор

on linux not necessary this use iptables automatic for bind ports, but windows no use firewall ?

virtual-riot
Автор

Thank you, It was a great video, Very nicely explained.

hudor
Автор

why would you not show us where you created the nginxproxymanager file??? how could we follow along! terrible tutorial

lazox