sandstorm-io / sandstorm

Sandstorm is a self-hostable web productivity suite. It's implemented as a security-hardened web app package manager.
https://sandstorm.io
Other
6.7k stars 704 forks source link

Sandstorm not running website #3510

Open yoge67855 opened 3 years ago

yoge67855 commented 3 years ago

when i open 0.0.0.0:80 or yogge.sandcats.io then i see nothing /opt/sandstorm/sandstorm.conf : SERVER_USER=sandstorm PORT=80 MONGO_PORT=6081 BIND_IP=0.0.0.0 BASE_URL=yogge.sandcats.io WILDCARD_HOST=*.yoggge.sandcats.io UPDATE_CHANNEL=dev ALLOW_DEV_ACCOUNTS=false SMTP_LISTEN_PORT=25 SANDCATS_BASE_DOMAIN=sandcats.io HTTPS_PORT=443

sandstorm.log

ocdtrekkie commented 3 years ago

Okay, so first of all, 0.0.0.0 isn't a "real" IP address, so that is never going to work in a browser. In BIND_IP, it basically just means "all IP addresses on this box" IIRC.

yoggge.sandcats.io appears to resolve to an IP address, yogge.sandcats.io does not, so if you intended to register the latter address, you actually did the former. I cannot reach yoggge.sandcats.io though, so the next question would be whether you have a router or firewall on which you need to open up a port and/or configure port forwarding.

ocdtrekkie commented 3 years ago

Note that I think you may have tried to correct the spelling error by modifying your BASE_URL in the configuration. However, your BASE_URL should contain the protocol (http:// or https://), and you did not update your WILDCARD_HOST. Finally, you registered yoggge.sandcats.io with the Sandcats service as part of the setup process. However, if you want to change that, you probably need to go through setup again, because just changing the configuration file will not register a different subdomain with Sandcats.

yoge67855 commented 3 years ago

UPDATE: after reinstallation i see: image

yoge67855 commented 3 years ago

but website is: image

yoge67855 commented 3 years ago

ping: image

ocdtrekkie commented 3 years ago

This is arguably better! If you are getting that page, you are talking to the Sandstorm server. However, as noted, navigating to 0.0.0.0 is not going to work, as you need to use dynamic DNS (the Sandcats address).

I think it is likely firewall/router related, as you need to forward the appropriate ports. Another possible issue, is if your ISP is for residential service, sometimes they block ports 80 and 443.