Debian LXC web service No external access

overload

New Member
Oct 4, 2024
6
1
3
I have setup a LXC using debian turnkey template. I want to host a web page from this host. As I am a beginner in these things I am not sure why I can not open the page at /var/www/html. Do I need to forward ports in proxmox and/or the lxc? If so I dont know the right place or way to do it. The best answer I have from my googling is use ufw to open the firewall to apache, but ufw is not installed and my understanding (from other googling) is this could break things because proxmox has its own firewall. I have already setup my router to forward the port from my old test IP to the new host IP on proxmox, but I guess it is still getting blocked somewhere in between. I would appreciated any pointers thanks.
 
If you have a "home" account and the web service runs on the standard ports of 80 & 443 it is very likely that your ISP is blocking it. Terms of service usually say "no servers" and that is often enforced with technical means.

If this is a "business" account or is hosted at a commercial provider then you likely have a different problem.
 
  • Like
Reactions: Kingneutron
it seems i missed an important step of activating the site with a2ensite xyz.com. I think that solves my issue.... for now ;)