02-23-2021, 08:49 AM
The command "ip a" will list your network adapters and their associated IPv4 and IPv6 addresses. That may not be very useful though since even if you're not being assigned an IPv6 address, IPv6 will auto-configure one that is only accessible locally. Also it's possible that even if you are being assigned an IPv6 address from Verizon it may be NATed or firewalled upstream making it difficult or impossible to run a public server.
What you may want to look at is setting up a virtual server at a VPS provider. Some out there are pretty cheap, for example ionos.com starts at $2/month for a basic setup:
https://www.ionos.com/servers/vps
Although limited their $2/month level would be OK for running a small site using nginx or lighthttpd. If you don't want to maintain your own server and deal with all the security issues etc. you could look at shared web hosting plans, which can be had at places like the following for as little as $1/month:
https://www.hostinger.com/web-hosting
I really think if you want a publicly-accessible site you'd be better off with one of the above inexpensive options rather than hosting it directly on the Pinephone using a cellular connection. I see running a web server on the phone as a neat "look what it can do" experiment, but I don't think it's really suitable for hosting a live web site.
What you may want to look at is setting up a virtual server at a VPS provider. Some out there are pretty cheap, for example ionos.com starts at $2/month for a basic setup:
https://www.ionos.com/servers/vps
Although limited their $2/month level would be OK for running a small site using nginx or lighthttpd. If you don't want to maintain your own server and deal with all the security issues etc. you could look at shared web hosting plans, which can be had at places like the following for as little as $1/month:
https://www.hostinger.com/web-hosting
I really think if you want a publicly-accessible site you'd be better off with one of the above inexpensive options rather than hosting it directly on the Pinephone using a cellular connection. I see running a web server on the phone as a neat "look what it can do" experiment, but I don't think it's really suitable for hosting a live web site.