Don’t get DDoS’d or use a provider that has built-in DDoS protection.
Depending on what you’re using it for you could “cloak” it.
Depending on what you’re using it for you could “cloak” it.
If it is an unimportant service you just suffer the DDoS or switch IPs.
Or you use a front end on a VPS that does have DDoS and use a IPv6 tunnel or tail scale to connect to your actual service.