#How to use multiple hostnames for a platform?

4 messages · Page 1 of 1 (latest)

frozen tide
#

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

ornate elbow
#

Hey @frozen tide , you can't add multiples hostnames in the same platform, but you can add multiples platforms with different hostnames

frozen tide
#

Thanks for your reply. I don't understand why.

Isn't it common to debug web apps on localhost or local IP, deploy a version for alpha feedback, and finally deploy to production?

I would need to setup 4 different platforms for that instead of simply adding the hostnames to one?

Could you please elaborate?

untold lantern
#

Yes, one hostname per platform so for multiple hostnames you'll do separate platforms