Report this

What is the reason for this report?

How to use wildcards for dynamic networking

Posted on February 16, 2021

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!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.