I am working on a webserver using caddy. I managed to make a localhost webserver that gives you a php file when visiting. Now i want to extend te server for remote acces via ip. so i want to be able to visit the webserver via google on another network (http://:8000).
this is my caddyfile:
:8000
php_fastcgi unix//run/php/php8.1-fpm.sock {
index test.php
root /var/www/html/
}
i thought i could just type my ip in front of the port number or add a listen in my fastcgi but this doesn’t seem to work
Michiel Parthoens is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.