Linux serverlinux web serverNETWORK ADMINISTRATIONS

How to Make a Simple Caddy 2 Website (with automatic HTTPS)

Learn how to use Caddy 2 to make a basic static website. Caddy Server is a web server that has automatic HTTPS built in. This tutorial will show you how to install Caddy on Linux and set up a website through the Caddyfile.

Find more at https://tonyteaches.tech
Check out my vlog channel @TonyFlorida
#caddyserver #caddy

source

by Tony Teaches Tech

linux http server

20 thoughts on “How to Make a Simple Caddy 2 Website (with automatic HTTPS)

  • plis make tutorial for centos7 from begin until active ,thanks before.

  • hi tony,
    how can configure it for hotlink protection, like nginx does http referer allow method

  • Groovy lava lamp brother. Thank you so much for teaching us on videos. You are my #1 favorite IT teacher, right next to NetworkChuck. You guys are awesome.

  • Hack – u don't need to copy lines one by one and paste it, just paste all lines at once and it will work

  • for localhost? why it shows yellow warning? and not from lets encrypt ssl?

  • Hi Tony, at 3:41, what shortcut did you use to clear everything?

  • the question is, why am i trying to use apache2…

  • so,im making a eaglercraft server by caddy,i wanna know if i make a vallinaserver,and the port is up by using caddy,will is became a websocket,that is working like a vallinaserver on eaglercraft,can u help me,thank you

  • Could really use the commands being provided as well as better guidance on the vim commands you are using.

    Tried several times, reflashed Ubuntu and tried again. Only difference is I have my domain on cloudflare. This is like the 15th website guide I have tried.

    I just want to host a website and I am not even getting close

  • Thank you for the well done video. I bookmarked it for reference.

  • Good tutorial. However it's not good practice to give the Webserver write permission ins the directory from which it is serving files.

  • Thanks for the easy to grasb videos.

    Is there anyway to issue wildcard SSL through Caddy?

  • This is incredible nice. I hope to explore more in Caddy. Thanks for the gist man.

Comments are closed.