Skip to content

Commit 8c82760

Browse files
authored
Update hosting.md
Fixed typo orphans.
1 parent 17aee87 commit 8c82760

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

hosting.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ server {
7373
```
7474
Change your `server_name` and `root` based on your domain name, and file location.
7575

76-
Now if you start nginx with `sudo nginx`, you should see Hideout's frontend running at `localhost`. This is also a good time to make sure Hideout can be accessed by visiting your public IP in your browser. You may need to configure your router and firewall for the traffic to be forwarded.
76+
Now if you start nginx with `sudo nginx`, you should see Hideout's frontend running at `localhost`. This is also a good time to make sure Hideout can be accessed by visiting your public IP in your browser. You will need to configure port-forwarding for port 80 and 443 on your router and firewall for the traffic to be forwarded.
7777

78-
Now we need to setup domain name, DNS, and HTTPS. I'm going to switch to my perspective here, because there are multiple ways to make it work, and I don't want to sound like a sales associate by saying things like "okay now you should get a domain from Njalla and buy Mullvad VPN".
78+
Now we need to setup domain name, DNS, and HTTPS. I'm switching to my perspective here, because there are multiple ways to make it work, and I don't want to sound like a sales associate by saying things like "okay now you should get a domain from Njalla and buy Mullvad VPN".
7979

8080
I got my domain name at Njalla: https://njal.la/, a "privacy-aware domain service". For the domain's DNS, I added an A record, fill in its name with "www", and its content with my public IP. I gave the record a short TTL. I didn't continue until I tested to see that I can reach Hideout by visiting `http://www.hideout-demo.com`. Note that it only works over HTTP, not HTTPS, at this point.
8181

@@ -112,8 +112,8 @@ server {
112112
}
113113
114114
# The traditional redirection from HTTP to HTTPS,
115-
# Is not needed here. Because user only has 1 option for the port,
116-
# If the server is behind Mullvad VPN.
115+
# Is not needed here, because port 80 won't be available
116+
# Through Mullvad anyway.
117117
#server {
118118
#
119119
# server_name hideout-demo.com
@@ -128,4 +128,4 @@ server {
128128
#
129129
#}
130130
```
131-
At this point, I've successfully hosted Hideout on a computer I physically own, over HTTPS, behind a VPN. I can access it in browser at `https://www.hideout-demo.com:50000`. Note that no piece of the URL can be left out. I need to specify all of `https`, `www`, and port number `50000`.
131+
At this point, I've successfully hosted Hideout on a computer I physically own, over HTTPS, behind a VPN. I can access it in browser at `https://www.hideout-demo.com:50000`. Note that no piece of the URL can be left out. I need to specify `https`, because `http` isn't available. I need to specify `www`, because the DNS only has one record, which translates IP for `www`. I can't add some DNS redirect, because DNS isn't aware of port numbers. Finally, I need to specify the port number `50000` as well.

0 commit comments

Comments
 (0)