Posts

Showing posts from November 5, 2018

How to Run Virtual hosts in Apache webserver

Image
      In this articles we will see about setting up virtual hosts on apache. Virtual host helps us to run multiple web sites on a single server. There are 2 types of virtual hosting in Apache, Types of Virtual hosts: Name-based virtual hosting. IP-based virtual hosting. Name-based virtual hosting:     Name-based vitual hosting allows you to run more domains under a single IP. The conf directory for virtual host is /usr/local/apache-2.4.37/conf/extra/httpd-vhost.conf <virtualhost *:80> ServerAdmin webmaster@dummy-host.example.com DocumentRoot "/usr/local/apache-2.4.37/docs/dummy-host.example.com" ServerName dummy-host.example.com ServerAlias www.dummy-host.example.

Blog Top Sites

Blog Log