skip to Main Content

Configuration virtual hosts – Apache

I try to configure virtual hosts. All I do step by step like here My config: root@ubuntu:/etc/apache2/sites-available# cat mmv.com.conf # create new for [mmv.com] <VirtualHost *:80> ServerName www.mmv.com ServerAdmin [email protected] DocumentRoot /var/www/mmv.com ErrorLog /var/log/apache2/mmv.com.error.log CustomLog /var/log/apache2/mmv.com.access.log combined LogLevel warn </VirtualHost>…

VIEW QUESTION

Apache Not Starting after adding a virtual host

I added a virtual host in httpd-vhosts.conf as follows <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/xampp/htdocs/basicwebsite/public" ServerName basicwebsite.dev </VirtualHost> and I also uncommented Include conf/extra/httpd-vhosts.conf from https.conf as suggested in similar threads. I also added 127.0.0.1 basicwebsite.dev in windows/system32/drivers/etc/hosts. Now when…

VIEW QUESTION

Apache – Configure hundreds of similar sites without specifying each one

Lets say I have this folder structure on disk: /var/www/site1.domain.com /var/www/site2.domain.com /var/www/site3.domain.com /var/www/site4.domain.com /var/www/site5.anotherdomain.com /var/www/site6.anotherdomain.com /var/www/site7.anotherdomain.com /var/www/site8.anotherdomain.com These are all similar plain html/css/js websites configured in exactly the same way. Is it possible to set up apache in such a…

VIEW QUESTION
Back To Top
Search