webdev



How to setup Apache Virtual Hosts

  • avatar
  • 1.3K Views
  • 3 mins read
Preview post image

An Apache web server can host multiple websites on the SAME server. You do not need separate server machine and Apache for each website. This can be achieved using the concept of Virtual Host or VHost.
Any domain that you want to host on your web server will have a separate entry in Apache configuration file.