DIFFERENT TYPES OF APACHE VIRTUAL-HOST IMPLEMENTATION

 Different types of Apache virtual-host implementation Running several name-based web sites on a single IP address. [root@www ~]# hostname  http://www.linuxmadeeasy.in [root@www ~]# ifconfig  eth0      Link encap:Ethernet  HWaddr 00:0C:29:FD:20:1A inet addr:172.16.28.175  Bcast:172.16.28.255  Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fefd:201a/64 Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 RX packets:61 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 errors:0 dropped:0 overruns:0 … Continue reading DIFFERENT TYPES OF APACHE VIRTUAL-HOST IMPLEMENTATION

apache codes

Apache Status Codes Apache Status Code Informational 100 - Continue A status code of 100 indicates that (usually the first) part of a request has been received without any problems, and that the rest of the request should now be sent. 101 - Switching Protocols HTTP 1.1 is just one type of protocol for transferring … Continue reading apache codes

how to test web-server

In this exmple My WEB-SERVER Ip Is 45.56.109.180 which is listening on port 80 mohammedrafi@NOC-RAFI:~$ nmap 45.56.109.180 Starting Nmap 6.40 ( http://nmap.org ) at 2016-04-01 08:16 IST Nmap scan report for li911-180.members.linode.com (45.56.109.180) Host is up (0.26s latency). Not shown: 994 closed ports PORT     STATE    SERVICE 22/tcp   open     ssh 80/tcp … Continue reading how to test web-server

apache

yum install httpd ------------------------------------------------------------------------------------------------- service httpd start ------------------------------------------------------------------------------------------------- vim /var/www/html/sample.html <head> <body> hello guies how are u </body> </head> ------------------------------------------------------------------------------------------------- <virtualhost *:80> documentroot /var/www/html/ directoryindex sample.html servername mywebserver.com </virtualhost> -------------------------------------------------------------------------------------------------- httpd -t -------------------------------------------------------------------------------------------------- service httpd restart ------------------------------------------------------------------------------------------------- In browser just type server-name or ipaddress 1. What is Apache web server? Answer : Apache web server … Continue reading apache