Could you tell me about name-based and IP- based Virtual hosting
What is the distinction between name-based and IP-based virtual hosting?
Collapse
X
-
Name-based and IP-based Virtual hosting:
IP-based hosting: IP-based virtual hosting is a technique for applying different directives to requests based on their IP address and port. This is most typically used to deliver many websites on various ports or interfaces.
Name-based hosting: The client's hostname is used in name-based virtual hosting. This saves IP addresses and the administrative overhead that comes with them, but the protocol being served must provide the hostname at some point.
-
Types of virtual hostings:
1. Apache Virtual Hosting in Linux.
2. Name Based Virtual Hosting.
3. IP Based Virtual Hosting.
4. Virtual Hosting: www.example1.com.
5. Virtual Hosting: www.example2.com.
Comment
Comment