Top "Virtualhost" questions

The term Virtual Host refers to the practice of running more than one web site (such as www.

Import/include external VirtualHost file to be used inside Apache's httpd.conf

Would you know how to import a VirtualHost file into httpd.conf? For example: start of httpd.conf: . . . Import team-virtual-host.…

apache virtualhost httpd.conf
Nginx reverse proxy causing infinite loop

I have the following in my Nginx site config file: server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; …

redirect nginx virtualhost reverse-proxy redirect-loop
how to create a VirtualHost to serve only static content

I want to create a virtual host in apache such that it serves only static content like stylesheets, videos, images, …

apache virtualhost static-content
Associate a domain name to a directory in Apache

I have an Ubuntu dedicated server, and I have 2 domain names. The first one is related to the directory '/…

apache dns ip virtualhost dedicated-server
Set up virtual hosts on Apache (XAMPP, Windows 10)

I try to set up virtual host for some local site with XAMPP. I executed next steps: In "C:/xampp/…

apache xampp virtualhost apache2.2
Virtual Host 2 Without www redirects to virtual host 1

my httpd.conf looks like this: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/host1.com ServerName host1.com ServerAlias www.…

linux apache unix virtualhost httpd.conf
Apache virtualhosts and default server not working as expected (serving incorrect content)

I've been playing around with this for a couple of hours and have come to the conclusion that asking someone …

apache2 webserver virtualhost centos5
Unable to find a virtual host listening on port 80.... Please add a virtual host for port 80

My web server is set up like this: AWS EC2 Linux AMI Apache 2.4 PHP 7 MySQL Certbot is giving me an …

amazon-ec2 virtualhost certbot
Apache 2.4 virtual host ignored

I'm setting up a new web server using Ubuntu 14.0, following the instructions here for creating virtual hosts, however my single …

apache virtualhost ubuntu-14.04 apache2.4
Virtual host not working in zend framework

Following is my virtual host in /etc/apache2/sites-available: <VirtualHost *:80> DocumentRoot "/var/www/roomstays/public" ServerName roomstays #This …

apache zend-framework virtualhost ubuntu-11.04