Many websites with one IP address.

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

Re: Many websites with one IP address.

Post by hack3rcon » 2020/11/16 16:15:57

Thank you so much.
Excuse me, I guess my question is odd. Let me clear it.
When you install a LAMP server then Apache has a main configuration file(httpd.conf) then this file has a "ServerName" that should be the name of the host. When you want to launch some Virtual Hosts, then each of the Virtual Host has its own "ServerName" too. In this situation, the "ServerName" in the "httpd.conf" file must be the name of the host that "hostname" command show and the "ServerName" in each Virtual Host configuration file must be the name of web site?

Post Reply

Return to “CentOS 8 - Networking Support”