Host a Website From Your Computer Using Docker & Nginx in 5 Minutes
11.6 هزار بار بازدید -
11 ماه پیش
-
This is how you can
This is how you can host an HTML folder from your computer/server. This will allow local connections to view your website. Port forwarding can be done to access the website from outside of your network but it is not recommended. If you want everyone to have access to the website, you can use cloudflare's reverse proxy which will let others connect to your site without the users directly connecting to your network.
Install Docker - https://docs.docker.com/engine/install/
Docker Compose - https://docs.docker.com/compose/install/
Subscribe to see more tech content!
♫ Music - Onion Prod. by LuKremBo: (no copyright music) lofi type beat “...
♫ Outro Music - Herbal Tea by Artificial.Music: Herbal Tea
My Website - https://madhukraft.com
Socials - https://madhukraft.com/socials
Insta - Instagram: MadhuKraft
Twitter - Twitter: MadhuKraft
Discord Server - Discord: discord
Merch - https://teespring.com/stores/madhukraft
Docker Playlist:
Docker
Timestamps:
0:00 Explanation
0:42 Creating the Docker Compose File
4:55 Running the Docker Container
5:46 Accessing the Website
6:03 Nginx Configuration File (Optional)
6:31 Outro
Install Docker - https://docs.docker.com/engine/install/
Docker Compose - https://docs.docker.com/compose/install/
Subscribe to see more tech content!
♫ Music - Onion Prod. by LuKremBo: (no copyright music) lofi type beat “...
♫ Outro Music - Herbal Tea by Artificial.Music: Herbal Tea
My Website - https://madhukraft.com
Socials - https://madhukraft.com/socials
Insta - Instagram: MadhuKraft
Twitter - Twitter: MadhuKraft
Discord Server - Discord: discord
Merch - https://teespring.com/stores/madhukraft
Docker Playlist:
Docker
Timestamps:
0:00 Explanation
0:42 Creating the Docker Compose File
4:55 Running the Docker Container
5:46 Accessing the Website
6:03 Nginx Configuration File (Optional)
6:31 Outro
11 ماه پیش
در تاریخ 1402/07/03 منتشر شده
است.
11,677
بـار بازدید شده