hey fedi. i got a domain name. i want to be able to put up a static site, access certain files from wherever, stream my music maybe.

how do i set up a simple html/file server on a laptop

TO CLARIFY: i mean HOW. like, complete beginner. can someone point me to a comprehensive tutorial?

#AskFedi #LinuxHelp

@matildalove FIrst thing if I may ask, do you have IPv6 or a static IP address?

If you don't know I can probably guide you on how to do this. (that said as always when opening things to the internet, security measures should be made like a firewall and seperated VLAN

@Umbreon i'm guessing i don't have a static address

@matildalove Probably, even countries that got disproportionality large portion of IPv4 address space are feeling the scarcity. Mostly because IPv4 addresses are incredibly scarce now due to the highly limited number of them.

These days it's pretty uncommon for ISPs to even give residential subscribers any sort of public unique IPv4 address and instead just use Carrier-Grade Network Address Translation (CGNAT).
When behind CGNAT, you basically share an IP address amongst many subscribers, this address is prone to changing and most likely can't be made to port forward to your laptop as the equipment is out of your control.

IPv6 doesn't need NAT at all, since it has significantly more addresses and every device with a proper address is uniquely addressable from the public internet.
Also most ISPs who do implement IPv6 generally configure v6 to be sticky (highly unlikely to change but not necessarily guaranteed to be consistent) or properly static.
That said a basic at home only server can done with much hassle