[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default virtualhost on Debian Jessie with Apache 2.4.10

On 04/05/15 05:21, Georgi Naplatanov wrote:

>> Currently I have a unique site in sites-enabled which is accessed only
>> via HTTPS. Hoping to have an access error when trying to access this
>> site via HTTP, Apache sends me to the default site which is "It's
>> works!" page in /var/www/html.
>> I was looking in the Apache configuration files where is configured the
>> default site but I have not found it. This was set at low level in the
>> compilation of the service?

> Hi,

Hi, Georgi.

> all your configuration files in /etc/apache2/sites-enabled/
>  and /etc/apache2/sites-available/ should end with ".conf" string e.g.
> "mysite.com.conf".
> For default site you can use "_default_" key word, see
> http://httpd.apache.org/docs/2.4/vhosts/examples.html.

Yes. After tests it seems that the solution is heading towards the use
of _default_.

Thanks for your reply.

Best regards,

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: