Top "Virtualhost" questions

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

How to disable all apache virtual hosts?

I'm writing a shell script to do some web server configuration. I need to disable all currently active virtual hosts. …

apache virtualhost
How to select PHP version 5 and 7 per virtualhost in Apache 2.4 on Debian?

Would it be possible to run PHP 7 and PHP 5 simultaneously in Apache 2.4 on Debian 9? I would like to be able …

php apache debian virtualhost php-7
Disable directory listing on apache; but access to individual files should be allowed

I do not want to use .htaccess. How should I change my Directory attributes? <VirtualHost *:80> ServerName abc.com …

apache virtualhost virtual-hosts
Apache - Restrict to IP not working

I've a subdomain that I only want to be accessible internally; I'm trying to achieve this in Apache by editing …

apache virtualhost
Apache: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

When configure apache2 virtual hosts for ssl/https connection, after adding configuration and enable the configuration with this command " a2…

apache ssl virtualhost sslengine
Creating Wildcard Sub Domain Using Apache VirtualHost

I want to have this situation : if user request using this URL : example.com or www.example.com, user will …

apache virtualhost wildcard-subdomain
Access to Laravel 5 app locally from an external device

I've looked for a solution in the web, but I've not found a solution yet. I need to access to …

php laravel laravel-5 virtualhost
How to create virtual hosts in MAMP?

I am new to Mac but used Ubuntu for development for a long time. I know how to create virtual …

macos mamp virtualhost
IIS equivalent of VirtualHost in Apache

Is there an equivalent to Apache's VirtualHost for IIS? We want to be able to run multiple websites from one …

apache iis virtualhost
How to get .htaccess files working with Apache VirtualHost

My problem is that my .htaccess file on my local server is not being read. The settings in the VirtualHost …

.htaccess apache2 virtualhost