Question

How to use wildcards for dynamic networking

Posted February 16, 2021 48 views
Networking

I would like to make better use of wildcards for my droplets, but I can’t seem to get it right.

Ideally I would like all *-dev.domain.com sites to point to my DEV server, and *-staging to my staging server, without having to manually set this up each time.

Neither *.dev, *-dev or *_dev or *dev seem to behave as expected for newsite.dev.domain.com, newsite-dev.domain.com, newsite_dev.domain.com or newsitedev.domain.com.

Is there a way to utilise wildcard networking is this manner, other than *.domain.com.

Thanks!

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!