Forum Moderators: phranque

Message Too Old, No Replies

How to configure IP based virtual hosting in apache server

in windows 10

         

shivajikobardan

1:31 pm on Jun 7, 2022 (gmt 0)

Top Contributors Of The Month



[community.spiceworks.com...]

I found this topic here as well. But I could not find support from it.

I am completely studying this for non professional reasons. i.e for an university exam.

The topic is "Virtual Web Hosting". The types are(or way to do it)-:

1) Port based Virutal hosting

2) IP based virtual hosting

3) Name based virtual hosting

I am genuinely clueless about it as the teacher has skipped this topic and asked to learn on our own. We have never worked with apache server whatsover. What do I do? Is there a tutorial that I can follow?

Is there a book which contains how to do it(I am not talking about whole book about this one thing, but 3-4 pages of book talking about this thing)

I want to learn to how to configure these. For time, I want to learn how to configure IP based virtual web hosting using MS windows 10.

There is some material that is provided to us in a book-:

[imgur.com...]

PLEASE HELP ME

Brett_Tabke

2:15 pm on Jun 7, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



First, welcome to WebmasterWorld. Second, congrats on working on the education.

Which of those three parts are not searchable in Bing? Three quicks search found numerous good results that explain each indepth.

w3dk

4:17 pm on Jun 7, 2022 (gmt 0)

10+ Year Member Top Contributors Of The Month



> There is some material that is provided to us in a book-:

That "book" would seem to be a bit dated since it references "NameVirtualHost" (Apache 2.2 and earlier), which is deprecated on Apache 2.4 (which is what you should be using). "NameVirtualHost" is simply not required anymore since Apache effectively enables it automatically.

> For time, I want to learn how to configure IP based virtual web hosting using MS windows 10.

The different "types" are all very closely related (and "port-based" is really a combination of both). But "named-based virtual hosts" are going to be the most practical/useful for you to implement yourself on a local dev server. Obviously, "IP-based virtual hosts" requires multiple IP addresses to be useful, which means multiple network adapters, etc.

This may depend on where you are starting from, but I would certainly give the Apache Docs a go:

Apache Virtual Host documentation: [httpd.apache.org...]