Skip to content

Commit b39f22e

Browse files
authored
Use local.sandstorm.org for local installs
1 parent 94b1530 commit b39f22e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

install.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ to install without using root access. In that case, Sandstorm will operate OK bu
709709
if [ -n "${SUDO_USER:-}" ]; then
710710
echo "* Add you ($SUDO_USER) to the $DEFAULT_SERVER_USER group so you can read/write app data."
711711
fi
712-
echo "* Expose the service only on localhost aka local.sandstorm.io, not the public Internet."
712+
echo "* Expose the service only on localhost aka local.sandstorm.org, not the public Internet."
713713
echo "* Enable 'dev accounts', for easy developer login."
714714
if [ "unknown" == "$INIT_SYSTEM" ]; then
715715
echo "*** WARNING: Could not detect how to run Sandstorm at startup on your system. ***"
@@ -736,10 +736,10 @@ to install without using root access. In that case, Sandstorm will operate OK bu
736736
# Bind to localhost, unless -e specified in argv.
737737
USE_EXTERNAL_INTERFACE="${USE_EXTERNAL_INTERFACE:-no}"
738738

739-
# Use local.sandstorm.io as hostname unless environment variable declared otherwise. This
739+
# Use local.sandstorm.org as hostname unless environment variable declared otherwise. This
740740
# short-circuits the code elsewhere that uses the system hostname if USE_EXTERNAL_INTERFACE is
741741
# "yes".
742-
SS_HOSTNAME="${SS_HOSTNAME:-local.sandstorm.io}"
742+
SS_HOSTNAME="${SS_HOSTNAME:-local.sandstorm.org}"
743743

744744
# Use 30025 as the default SMTP_LISTEN_PORT.
745745
SMTP_LISTEN_PORT="${DEFAULT_SMTP_PORT}"
@@ -951,9 +951,9 @@ configure_hostnames() {
951951
SS_HOSTNAME="${SS_HOSTNAME:-$(hostname -f 2>/dev/null || hostname)}"
952952
else
953953
BIND_IP=127.0.0.1
954-
SS_HOSTNAME=local.sandstorm.io
954+
SS_HOSTNAME=local.sandstorm.org
955955
if [ "yes" != "$USE_DEFAULTS" ] ; then
956-
echo "Note: local.sandstorm.io maps to 127.0.0.1, i.e. your local machine."
956+
echo "Note: local.sandstorm.org maps to 127.0.0.1, i.e. your local machine."
957957
echo "For reasons that will become clear in the next step, you should use this"
958958
echo "instead of 'localhost'."
959959
fi
@@ -996,9 +996,9 @@ configure_hostnames() {
996996
fi
997997

998998
# If the BASE_URL looks like localhost, then we had better use a
999-
# DEFAULT_WILDCARD of local.sandstorm.io so that wildcard DNS works.
999+
# DEFAULT_WILDCARD of local.sandstorm.org so that wildcard DNS works.
10001000
if [[ "$BASE_URL" =~ ^http://localhost(|:[0-9]*)(/.*)?$ ]]; then
1001-
DEFAULT_WILDCARD=*.local.sandstorm.io${BASH_REMATCH[1]}
1001+
DEFAULT_WILDCARD=*.local.sandstorm.org${BASH_REMATCH[1]}
10021002
elif [[ "$BASE_URL" =~ ^[^:/]*://([^/]*)/?$ ]]; then
10031003
DEFAULT_WILDCARD="${DEFAULT_WILDCARD:-*.${BASH_REMATCH[1]}}"
10041004
else
@@ -1019,8 +1019,8 @@ configure_hostnames() {
10191019
echo "prefix, like \"ss-*.foo.example.com\". Note that if your server's main page"
10201020
echo "is served over SSL, the wildcard address must support SSL as well, which"
10211021
echo "implies that you must have a wildcard certificate. For local-machine servers,"
1022-
echo "we have mapped *.local.sandstorm.io to 127.0.0.1 for your convenience, so you"
1023-
echo "can use \"*.local.sandstorm.io\" here. If you are serving off a non-standard"
1022+
echo "we have mapped *.local.sandstorm.org to 127.0.0.1 for your convenience, so you"
1023+
echo "can use \"*.local.sandstorm.org\" here. If you are serving off a non-standard"
10241024
echo "port, you must include it here as well."
10251025
fi
10261026
WILDCARD_HOST=$(prompt "Wildcard host:" "$DEFAULT_WILDCARD")

0 commit comments

Comments
 (0)