# HOWTO: Non-IP virtual hosting with Pi3Web 1.0.2 or greater

• To: joaom@ican.net (Joao Martins)
• Subject: HOWTO: Non-IP virtual hosting with Pi3Web 1.0.2 or greater
• From: jproy@world.std.com (John P Roy)
• Date: Thu, 2 Apr 1998 12:00:13 -0500 (EST)
• Cc: pi3-users@johnroy.com
• In-Reply-To: <000701bd5e55$89c62fe0$58129a8e@valery.darkuniverse.dynip.com> from "Joao Martins" at Apr 2, 98 11:36:45 am


Hey,
I don't understand the question 100%, but I'll try and answer anyway

Do this:

Install the web server and access the URL http://localhost/
---> see the main page good

Then add an alias for localhost, on NT edit the file
C:\WINNT\System32\Drivers\etc\hosts add the word 'yoyo' after
'localhost' on the same line seperated by spaces.

Now add a new Non-IP virtual host in the server, make the hostname
'yoyo', document root 'yoyo/' and administrator webmaster@yoyo, apply
and changes and make sure the server it running.

Make a new directory under c:\pi3web, call it yoyo, place a new
html file in this directory, call it index.htm

Now go back to the browser -
access the URL http://yoyo/ -----> you will see your new index.htm page
access the URL http://localhost/ ---> you will see the original page

And thats non-ip virtual hosting.

John

>
>
> I am new as a web administrator. I just download the new version of Pi3 =
> ver 1.0.2.
> I tried to configure the "Non IP Virtual Hosts" but when i launch my =
> browser I can seen to get the new address.
> I am assuming that the non ip virtual host is used to give one ip =
> address to a multiple domain.
> Could you help me figure it out if it my config that is wrong or is my =
> idea of non ip virtual host.
>