[deleted]
Submitted 1 day ago by CraigCabbage@sh.itjust.works to selfhosted@lemmy.world
Comments
FrostyPolicy@suppo.fi 1 day ago
rtxn@lemmy.world 1 day ago
How much experience do you have with networking, exactly?
The DNS record points to a private IPv4 address (10.0.0.41), which cannot be accessed from the internet for multiple reasons; first of which is that it’s almost certainly behind a NAT gateway.
Your internet provider has given you a single publicly routable IPv4 address and assigned it to the WAN interface on your modem or router. If you want to access a host on the LAN, you’ll first have to configure port mapping or port forwarding on the router. Then you’ll have to open holes in your firewall and accept the fact that every bad actor will try to break into that host unless you know how to set up network security.
30p87@feddit.org 1 day ago
It can’t, as it’s only accessible in your local network, where your and your sister’s computers are in.
You need a public IPv4 and/or IPv6 address. Often, IPv6 addresses are already publicly accessible, but not supported by every device and ISP.
CraigCabbage@sh.itjust.works 1 day ago
I tried using Ngrok but it’s still local (My router is full and Dad doesn’t want me to mess with it)
sugar_in_your_tea@sh.itjust.works 1 day ago
How is your router “full”?
30p87@feddit.org 1 day ago
Well, what did you do exactly?
hddsx@lemmy.ca 1 day ago
I’m not going to test this because while it could be innocuous, well, it could be harmful as well. If this is hosted in a local network, take your phone or laptop to a place with free WiFi and test. Also make sure the subdomain resolves to an IP address. You can go to cmd in Windows, or open up a terminal and type “ping craigsworld.dedyn.io”. If it’s not a reserved IP and you can access it outside your local network you’re good.
otacon239@lemmy.world 1 day ago
Simpler, you can just disconnect your phone from WiFi and test there. If you really need your laptop to test, use tethering.
hddsx@lemmy.ca 1 day ago
Ah, yes. I forgot we’ve moved away from the late 2000’s. All good points
hendrik@palaver.p3x.de 1 day ago
Good suggestion, that's what I do.
tycoontwist@lemmy.ca 1 day ago
Looks like it’s down: downforeveryoneorjustme.com/craigsworld.dedyn.io
CraigCabbage@sh.itjust.works 1 day ago
Oh dang, thanks!
cyrano@lemmy.dbzer0.com 1 day ago
Nibodhika@lemmy.world 1 day ago
Ok, so, there are multiple things you should be aware.
First of all you’ve set that DNS to be
10.0.0.41
, that range of IPs is reserved for lan, similar to192.168.0.41
would be. Only people in the same local network as you might be able to access it.Also, usually your home router doesn’t use the 10.x.x.x range, but some ISPs might do it in their internal network, which means your router doesn’t get an internet IP, instead your ISP router does and it shares the same external IP with different houses, so you would need to use something like www.whatsmyip.org to know what your external IP is.
But there’s more, since you don’t control that router putting that external IP in the DNS won’t work either.
You need to do something more complicated, I recommend you read on cloud flare tunnels for example.
And one final piece of advice, don’t share your urls with randoms on the internet, security by obscurity is not security and all, but publicly advertising your url is asking for trouble, even without doing that you will see several attempts of logging into your servers constantly.
frongt@lemmy.zip 1 day ago
KazuchijouNo@lemy.lol 1 day ago
I ran into the same issues as you when I started. Selfhosting is a ton of fun. Here’s something I posted a while ago, might help you. lemy.lol/post/35499344
ragica@lemmy.ml 1 day ago
One easy way to test accessing your site externally is use a free web proxy to try to load it.
For example (not a personal recommendation, just a random search result) wproxy.net
SpiceDealer@lemmy.dbzer0.com 1 day ago
It failed to connect on my end. Will try again in an hour.
onslaught545@lemmy.zip 1 day ago
OP, I’d refrain from making your site publicly accessible until you learn more about networking and cyber security.
There’s a lot of risk in hosting a site from your home network.
FrostyPolicy@suppo.fi 1 day ago
Agreed.