Running CaddyServer

Run

By default, Caddy will use the current directory (the directory it is being executed from, not the folder where the binary lives) as the root of the site. This makes it easy to work on sites locally!

Using the terminal or command line, change into the folder where your site is:

cd path/to/my/site

And run to CaddyServer

caddy 

Load http://youripordomain:2015 in your browser. If you see a 404 error, then Caddy is working but your site is missing an index file.

You can quit Caddy by pressing Ctrl+C. It will terminate as gracefully as possible.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 919