Answer the question
In order to leave comments, you need to log in
What is the problem when creating virtual hosts in apache2?
I have apache2 openuse installed, trying to create a virtual host like on ubuntu, with the following config ServerAdmin
[email protected]
ServerName test.dev
DocumentRoot /srv/www/vhosts/test.dev/public_html
ErrorLog /var/log/apache2/test .dev-error_log
CustomLog /var/log/apache2/test.dev-access_log combined
This config is in /etc/apache2/vhosts.d/test.dev.conf. After restarting the server, the site test.dev was not found, but not a stub file is available at the address localhost, but test.dev. If you add another site, then the new one will be displayed by localhost, and not test.dev. Something went wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question