andrefuchsOriginal post
Rank 1: Thread
I've set up a web platform, and I need to allow multiple hostnames:
localhost
http://192.168.2.111:8080/
*.netlify.app
example.com
How do I add multiple hostnames?
I tried comma-separated, but it didn't work. (404 error)
Thank you
Summary
Developers asking how to use multiple hostnames for their platform - they tried comma-separated but it resulted in a 404 error. The correct way to add multiple hostnames is by creating separate server blocks for each hostname in the configuration file.