I have an old OnePlus 5T that has LineageOS installed. I don’t really do anything with it and I thought it would be cool to host my first ever website (static) on it.
What I’ve done so far:
- Got the HTML file for my website.
- Got the CSS style sheet for that site.
- Purchased a domain name.
I request help/guidance with:
- Minimal install of Debian, nginx, Docker, and Fail2ban. (I feel I need help with the Debian installation because the rest is seems easy enough).
- Hosting my website from my home, so like if I should consider subnet or vlan for my home to protect other devices when I expose port 80 (http) and 443 (https) of my router so other servers can access my server phone.
I know this sounds like complicating matters for something I have never done before, but any help would be greatly appreciated. I have hosted stuff at home (pihole, LibreTranslate, etc) but I think this website project may not be straightforward.
if they got lineageos on the device it’s already unlocked right?
anyway it seems supported decently enough by postmarketos, which is currently the best distro (imo) for Linux mobile
their site has install instructions (on the OnePlus 5 page that is linked)
anyway I wouldn’t use docker or anything, using nginx on bare metal to host a website is easy and extremely lightweight