Host your website on your own server?
Good day,
I have a problem. I want to use my rented server to host a website with Apache/httpd. I already have httpd installed, and I want to host my website on it, but I don't know how, and I can't find any instructions for doing so.
Thank you very much for your help in advance!
Best regards, Tobias
80 is the standard HTTP port if you don’t get the free host the website on another port. then blur NGINX Reverse Proxy Manager as Docker Container. The server address is simply your server IP, then use the correct port. Create a DNS entry with your DNS host (A type) with the server IP (if your DNS provider uses a proxy first)
But would always host static sites with cloudflare pages, Vercel or Netlify. Or even AWS Amplify. Is much more practical and more you do not need if the content is not dynamic. VPS only for Backend
Thank you very much, I will try it and thank you for the TIpp with cloudflare.
Sure. Here is a brief explanation if you only use cloudflare as a DNS and the website remains on the server:
NGINX Proxy Manager (NPM) can issue SSL certificates with Let’s encrypt. This is only possible if your server can be reached directly on its own IP by Let’s Encrypt. Cloudflare changes the address in the DNS entry from your own to the address from its servers. So if you want to use SSL, it’s like this:
But as said, hosting static sites is simple and free from the above providers, all that goes beyond that I would run into Docker containers to protect the system, and just behind cloudflare
thanks to
Apparently, there’s already a process that listens to Port 80.
The sites-enabled/ …. file should be set correctly. There seems a lot to be missing.
Look what goes on port 80: lsof -i:80
and then pkill {The process name zb Nginx}
it appears httpd xd
Then there’s something going on
It may be the fastest.
You should choose a web server, nginx or apache and then configure it properly and in peace.
No quarter of an hour. I think it would be better to uninstall everything from apache and reinstall it.
Read your web server alone, you don’t do it in a quarter of an hour!
I also noticed, could start it earlier, but the page has not loaded, but now can not even start httpd haha. I give up
Does the Apache Server ever run?
Tests
systemctl start apache2.service
Unit apache2.service not found.
then I would install it
sudo apt install apache2
then also running the webserver
Fedora
What’s on the Linux Distro server?
Unable to find a match: apache2.