Quantcast
Channel: Apache Virtual host *:80 required? - Server Fault
Viewing all articles
Browse latest Browse all 2

Apache Virtual host *:80 required?

$
0
0

I disabled the virtual host *:80 and I had a 400 bad request when trying to connect to my website.

I set it back and it worked again. But I dont want or need a virtual host all I need is accept connection to my server on ports 80 and 443 and both serve the same content.

Is it required to create a virtual host? Or is it because there is another virtualHost for the *:443 https that the server responded with a 400 bad request ?

It's empty like that

<VirtualHost *:80></VirtualHost>wildcard NameVirtualHosts and _default_ servers:_default_:443          some-ip.us-west-2.compute.internal (/etc/httpd/conf.d/ssl.conf:74)*:80                   some-ip.us-west-2.compute.internal (/etc/httpd/conf/httpd.conf:1005)

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>