any way to disable redirecting unused sub domains to Cloudron
-
Is there a way I can disable cloudron redirecting unused subdomains to the page below?
You are seeing this page because the DNS record of test.example.com is set to this server's IP, but Cloudron has no app configured for this domain.
Thanks,
Muhannad -
I guess you could just manually remove the entry from your DNS?
-
@Muhanand said in any way to disable redirecting unused sub domains to Cloudron:
I wanted to use the subdomain on the same machine outside of Cloudron. But I can't map anything to the subdomain because Cloudron is using it
I guess you could just manually remove the entry from your DNS?
-
@jdaviescoates like remove the subdomain?
-
-
I don't think cloudron supports using the Ubuntu box "for other things".
-
@AartJansen said in any way to disable redirecting unused sub domains to Cloudron:
I don't think cloudron supports using the Ubuntu box "for other things".
Good point, I'd missed that part.
-
@jdaviescoates I'm using Wildcard, so there is no entry to remove in some of these cases. The * will always load that notice, and in fact it would be nice if it didn't.
-
@Muhanand said in any way to disable redirecting unused sub domains to Cloudron:
@jdaviescoates like remove the subdomain?
yes, correct, just remove that subdomain from namecheap. It should have been removed automatically by Cloudron but for some reason it's not. Maybe it was added by you manually in namecheap for some previous testing? In any case, if you don't use the subdomain, you can just delete it from namecheap directly.
-
@scooke said in any way to disable redirecting unused sub domains to Cloudron:
@jdaviescoates I'm using Wildcard, so there is no entry to remove in some of these cases. The * will always load that notice, and in fact it would be nice if it didn't.
you have to then add the entries in the DNS one by one instead and remove the '*' entry.
alternately, what should cloudron respond as (instead of the above page) ? a request comes in for
random.domain.com
, I guess it can show some 404 instead of above page? The above is the 404 page but maybe the text is not useful? -
@girish said in any way to disable redirecting unused sub domains to Cloudron:
you have to then add the entries in the DNS one by one instead and remove the '*' entry.
Ah! Really? I have thought all this time that the Cloudron needed the * for various reasons (like, during health checks it makes sure DNS includes *.example.com). If it's just to use the subdomain, then awesome. I have no problem at all making or deleting subdomains as needed.
-
@scooke right
Also, 'wildcard' provider is just a convenient approach over the 'manual' provider. When you use, 'manual' provider, Cloudron will remind you set up these DNS entries manually (each time you add app or relocate app). With a wildcard, you don't get this reminder since a wildcard was set up.
-