httpd

A 2-post collection

Host Multiple Domains Served by haproxy on One EC2 Server

By My Ultimate Guide For Everything |  Jun 28, 2023  | ec2, aws, httpd, virtual-host, ubuntu, haproxy, wordpress, hugo
In the previous post, we explained how to serve multiple domains on one server using apache http server virtual host. In this post we explain the same concept except we will be using haproxy for load balancing and https support. How each domain is served really does not matter here but in my case I’m hosting two websites one served by hugo on 8080 port and another served by wordpress on port 8082.
Continue Reading...

Host Multiple Domains Served by Apache Http Server on One EC2 Server

By My Ultimate Guide For Everything |  Jun 27, 2023  | ec2, aws, httpd, virtual-host, rhel
Motivation Hosting multiple domains on the same EC2 server using httpd and virtual host can provide several benefits for website owners or administrators. Here are a few reasons why one would consider implementing this setup: Cost Efficiency: By hosting multiple domains on a single EC2 server, you can optimize resource utilization and reduce costs. Instead of provisioning separate servers for each domain, you can consolidate them onto a single server, resulting in significant savings in terms of infrastructure expenses.
Continue Reading...