sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.84k stars 135 forks source link

Subdomain of a subdomain #459

Closed sartimo closed 2 years ago

sartimo commented 2 years ago

Hello everyone 👋🏻

I know that a DNS may hold as many as possible subdomains for a host. How can I configure this with surge.sh? Assuming, I have a webservice running on a site like pony.foo.surge.sh

Thanks for support and best regards

Timo Sarkar

fu-sen commented 2 years ago

You can't do it with surge.sh. Limited to ●●●.surge.sh. You can consider ●●●-●●●.surge.sh instead of ●●●.●●●.surge.sh. There are several reasons for this. For example, the SSL certificate *.surge.sh does not target ●●●.●●●.surge.sh.

If you use a custom domain, you should be able to use it without this limitation.

sartimo commented 2 years ago

Alright perfect. Thanks!