MilesWeb Hosting Forum

Web Hosting Main Forums => Web Hosting => Topic started by: Ritu on February 09, 2019, 03:39:58 PM

Title: What is the use of Name-based hosting?
Post by: Ritu on February 09, 2019, 03:39:58 PM
Hello everyone,
Can you guys explain to me what is name based hosting? And what is its use?
Title: Re: What is the use of Name-based hosting?
Post by: Krishnan on February 11, 2019, 05:50:49 PM
Name-based hosting is a commonly used Virtual hosting type. It allows the virtual hosts to serve multiple host-names that runs on a single machine and have a single IP address.
Title: Re: What is the use of Name-based hosting?
Post by: Keeran on February 11, 2019, 06:08:33 PM
Name-based hosting is used to respond to the request of a resource from the server. Then the server responds to the request using the host-name. Web servers use HTTP protocol to respond to the requested host-name.
The server contains all the information about the website and it is given to the user who requests for it.
Title: Re: What is the use of Name-based hosting?
Post by: Bhagyeshree on February 18, 2019, 05:16:02 PM
In name based hosting, it is possible to host multiple domains/websites on a single machine with a single IP. Since all the domains share the same IP, you need to just configure DNS of the domain to map it with its correct IP address and then configure Apache to identify it with the domain names.
Title: Re: What is the use of Name-based hosting?
Post by: sonam on February 27, 2019, 03:58:36 PM
In the name based virtual hosting, the server depends on the client to report the host-name as part of the HTTP header. By using this technique, many different hosts would be able to share the same IP address.