Forum Index Search Forum Register Log in

Runs on XP to Win 10


Download 7.0

Download 7.1 Beta5 upgrade

A donation makes a contribution towards the time and effort that's going in to running this site.


My mail address is
at the top of the paypal form :

Your donations will help to keep this site alive and well.

Update your links !! November 2016 the forum is at

In the forum there are links to,
replace "" with ""
Test Vhosts offline (Windows)

Post new topic   Reply to topic    Sambar Forum Index -> How-to's & Documentation & Tips
View previous topic :: View next topic  
Author Message

Joined: 19 Aug 2004
Posts: 5

PostPosted: Wed 01 Sep '04 2:29    Post subject: Test Vhosts offline (Windows) Reply with quote

This is a simply trick to give your own computer multiple names (as many as you want), and so let you run "Vhosts" and test it before launch it on Web enviroment.

1) Create a Vhost and give it a name (don't use existing names on the domain /eg DON'T USE .com, .org., .biz, .net or so). Let's say we create a Vhost named *

2) Open the file C:\Windows\System32\drivers\etc\hosts with NotePad

3) Add an entry named

4) Save it

Now you can open your browser and navigate to and you are on your local test Vhost's site. (Note: Vhosts created this way will not be accessible from internet).
Back to top
View user's profile

Joined: 06 Jul 2006
Posts: 19

PostPosted: Tue 09 Jan '07 1:12    Post subject: Reply with quote


try this aggrivating vhost configuration.

windows host file localhost server01

Now let's try this:
http://server01/ <----into browser (that is if u have sambar configed like that-which I do)

Broadcasted acrossed a network
On ONE/the same computer (server01)
Bind installed
here = A folder
here2 = A totally different folder then "here" is

Setup/config Sambar vhost somehow to do this.

For example:

http://forum.server01/ = phpBB = C:\path to Sambar\docs\forum\<folder>

http://store.server01/ -or- http://biz.server01/ = OSCommerence = C:\path to Sambar\docs\biz\<folder>

So basically if u pull up http://forum.server01/ acrossed the network it'll pull up phpBB and if u pull up http://store.server01/ it'll pull up OSCommerence. And http://store.server01/ will not pull up phpBB and visa versa.

Is this possible? And if so how? Good luck on this one.
Back to top
View user's profile

Post new topic   Reply to topic    Sambar Forum Index -> How-to's & Documentation & Tips
Page 1 of 1