Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Configure Apache Virtual Hostsmultiple sites on one server—on a Fedora VPS—install with
dnf install httpd -y
create /etc/httpd/conf d/vhost conf:
\nServerName domain1.com\nDocumentRoot /var/www/domain1\n\n\nServerName domain2.com\nDocumentRoot /var/www/domain2\n
Start with
systemctl start httpd
open port:
firewall-cmd --add-service=http
On Vultr test with
curl http://domain1.com
—ensures phpMyAdmin multi-site VPS hosting uptime

Back to All Tips