VirtualHost always returns default host with Apache on Ubuntu 14.04

前端 未结 12 601
夕颜
夕颜 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:53

    This has bitten me more than once; sometimes I would enable with sudo - sometimes I would not.

    Ubuntu 14.04 seems to display the same message either way. When moving at 100 miles an hour, sometimes you miss a sudo or two.

    The symptom of the new website defaulting back to wrong directory has been my only clue the the enabling never happened. I'd say it's a bug.

    It should at least warn when a command isn't executed!!!

提交回复
热议问题