Web Server
Web Server
Hello everyone, I’m using an older HP Compaq 6000 Pro in a small form factor and running Linux LXLE based on Ubuntu. I’m choosing this distribution because it seems to work best with my network card. I’m planning to set up an Apache web server to host my photography site, and eventually maybe even offer web hosting for others. Right now I can install Apache, MySQL, PHPAdmin locally, but I’m having trouble getting it to work over the internet. I tried putting the IP in a DMZ, but it froze my Plex Server on an old laptop. I have a 100/8 Mbps cable connection via a Netgear R6400v2 router. Any advice would be greatly appreciated. Thanks ahead of time. Wayne P.S. This is the machine I’m using. https://support.hp.com/us-en/document/c01865797
On your router, direct ports 80 and 443 to your server as instructed by Master Disaster. After that, configure and protect your Apache server using standard methods. When you later add other sites, employ Apache virtual hosts. If the site needs internet access, consider implementing fail2ban. For purely local use, this step may not be essential.
Also important to consider is whether your internet service provider offers a fixed or changing IP address.