Hugo Server on LAN

Host Hugo server on LAN with our guide. Access your site locally and improve testing and development capabilities with easy-to-follow steps

Brief

[IP-ADD] is your local IP address.

Command

use this command instead of “hugo server”

1
hugo server --bind [IP-ADD] --baseURL http://[IP-ADD]

Conclusion

visit http://[IP-ADD] from any device on your LAN to view the temporary hugo site.

that’s it ✌🏽