Open sathishksingh opened 1 year ago
It looks like you may have a stray colon at the end of your WILDCARD_HOST?
It looks like you may have a stray colon at the end of your WILDCARD_HOST?
sorry was old image. it was updated. you mean : i have removed it from correct one is above
Okay, and I guess it's worth noting that you need to restart Sandstorm after changing that. I'm assuming you have something else handling SSL termination, since your Sandstorm is using HTTP on port 6080, but I see from above you can access it at an https:// URL.
However, the next thing I'm noticing is that I do not believe your DNS record is correct.
If I try to lookup sstorm.dapm.com, I get an IP address. However, if I try to reach foo.dapm.com, I do not get any IP address from DNS. That suggests you don't have a wildcard entry on your DNS provider.
is it mandatory to do this setup?
already *wildcard is added in gandi.net
Don;t know what is missing?
You shouldn't need to do that, that's only if you're using Sandstorm's SSL provider, and want Sandstorm to handle Let's Encrypt. It looks like you're using something else.
But if your wildcard was in your Gandi DNS, you should get your IP address back if you try to ping foo.dapm.com or bar.dapm.com or anything.dapm.com.
You shouldn't need to do that, that's only if you're using Sandstorm's SSL provider, and want Sandstorm to handle Let's Encrypt. It looks like you're using something else.
But if your wildcard was in your Gandi DNS, you should get your IP address back if you try to ping foo.dapm.com or bar.dapm.com or anything.dapm.com.
Ok understood. let me have a look at DNS Setup and update you. may i know How it should be added as record? at DNS
I haven't used Gandi's control panel personally, but usually a wildcard entry should be an A record where the subdomain is *
and points at the same IP address as your sstorm
A record. Basically do the same thing you did for sstorm but for * instead.
https://docs.gandi.net/en/domain_names/faq/record_types/a_record.html
I am using butter reverse proxy. is it linked to that? any thing missing?
I'm not familiar with it, but the wildcard DNS record is definitely not working. Regardless of your proxy or Sandstorm setup, if your DNS is set correctly, a DNS lookup for anyrandomsubdomain.dapm.com should return your the IP address of your server, and currently it does not return anything.
I'm not familiar with it, but the wildcard DNS record is definitely not working. Regardless of your proxy or Sandstorm setup, if your DNS is set correctly, a DNS lookup for anyrandomsubdomain.dapm.com should return your the IP address of your server, and currently it does not return anything.
I'm not familiar with it, but the wildcard DNS record is definitely not working. Regardless of your proxy or Sandstorm setup, if your DNS is set correctly, a DNS lookup for anyrandomsubdomain.dapm.com should return your the IP address of your server, and currently it does not return anything.
If i want to use a custom domain, i require a domain name with the following DNS records:
Created A Record in Gandi.net: An A record pointing to your domain (example.com. A your_server_ip).
CNAME: A wildcard CNAME record redirecting to your Sandstorm IP (*.example.com CNAME example.com.)
Above I haven't created CNAME this could be reason?
It could be either an A record or a CNAME, but there has to be one that is and pointed at your server. Can you maybe screenshot both your sstorm record and your record in your DNS?
It could be either an A record or a CNAME, but there has to be one that is and pointed at your server. Can you maybe screenshot both your sstorm record and your record in your DNS?
here the screen shot of DNS
So can you add one for:
* A 300 212.203.99.188
It could be either an A record or a CNAME, but there has to be one that is and pointed at your server. Can you maybe screenshot both your sstorm record and your record in your DNS?
here the screen shot of DNS
no impacts to Adding like below DNS?
Unless you have a record already, it should be fine. does not impact existing records and only is used when a specific record is not found.
However, you should also be able to do something like sstorm-* to ensure all Sandstorm subdomains start with sstorm-. But you'd also need to set that in the WILDCARD_HOST in your sandstorm.conf file as well.
Unless you have a record already, it should be fine. does not impact existing records and only is used when a specific record is not found.
However, you should also be able to do something like sstorm-* to ensure all Sandstorm subdomains start with sstorm-. But you'd also need to set that in the WILDCARD_HOST in your sandstorm.conf file as well.
Added with *
Still i am getting this same error. when i use Chrome in Mobile getting another error
When i use chrome or Mozilla, Edge getting this error
ocdtrekkie any input?
The DNS stuff all looks correct now to me. I think there's a good chance the proxy setup isn't forwarding the wildcard content through, but as I said on the other issue, I don't know enough about proxy configs to tell you how to fix it.
https://github.com/sandstorm-io/sandstorm/issues/3694
I have shared my current configuration. Now you will able to guide me easily.
The DNS stuff all looks correct now to me. I think there's a good chance the proxy setup isn't forwarding the wildcard content through, but as I said on the other issue, I don't know enough about proxy configs to tell you how to fix it.
Here this my current proxy ssl.conf #
# Listen 443 https
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
SSLSessionCache shmcb:/run/httpd/sslcache(512000) SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256 SSLRandomSeed connect builtin
#
# SSLCryptoDevice builtin
But i don;t under stand how can we import this setting of sample-config/apache-virtualhost.conf as below https://github.com/sandstorm-io/sandstorm/blob/master/docs/administering/sample-config/apache-virtualhost.conf
Can you high light where are the things to be replaced from existing with sample file?
if i import this sample file Getting this error below AH00526: Syntax error on line 231 of /etc/httpd/conf.d/ssl.conf: SSLCertificateFile: file '/path/to/signed_cert_and_intermediate_certs_and_dhparams' does not exist or is empty
If you are using your own reverse proxy, you'll need to provide your own wildcard certificates, which is unfortunately well outside of the guidance I can provide. The error is because you'd need to change that line to point at your own certificates that cover the domain in question.
Here my Configuration
Grains were loading for ever
Logs for particular app
System log sandstorm_System log.log
Please advise. i am seriously stuck with this. What is missing to finish this? i am using my own *wildcard globally able to access. still why its saying WARNING: This server seems to have its WILDCARD_HOST misconfigured.