VirtualHost always returns default host with Apache on Ubuntu 14.04

前端 未结 12 600
夕颜
夕颜 2021-01-30 07:16

I try to setup a virtual host besides the default localhost. Whenever I try to call my virtual host http://test I get the default Apache2 Index file t

12条回答
  •  再見小時候
    2021-01-30 07:34

    Just pointing this out that may be obvious for experienced users, but not so much if you're a first timer.

    Make sure that the config you're using in /sites-enabled ends with a .conf as expected in your apache2.conf

    That was my problem and it fixed it.

提交回复
热议问题