When I should use "*:80" in Virtual Host?

Issues related to configuring your network
Post Reply
hack3rcon
Posts: 694
Joined: 2014/11/24 11:04:37

When I should use "*:80" in Virtual Host?

Post by hack3rcon » 2020/09/26 07:35:19

Hello,
In Virtual Host configuration, when I should use "*:80" like below?

Code: Select all

<VirtualHost *:80>
    ServerName mysite.com
    ServerAlias www.mysite.com
    DocumentRoot /home/rotate/public_html
    ServerAdmin me@mysite.com
    UseCanonicalName Off
</VirtualHost>
If I want to host multiple website on a same server then?

Thank you.

hack3rcon
Posts: 694
Joined: 2014/11/24 11:04:37

Re: When I should use "*:80" in Virtual Host?

Post by hack3rcon » 2020/10/05 10:34:22

No idea?

Post Reply

Return to “CentOS 8 - Networking Support”