Click to See Complete Forum and Search --> : Network Web Access


BaVinic
09-21-2002, 12:27 AM
ok, Let's see if I can explain myself properly.
This is my question:

I have setup Apache, with MySql, PHP and FrontPage Ext.
I have it working fine.
I want to be able to allow access to the hosted website(s) I have on my local network to the other computers on my network.

Now, I have 3 websites, 1 Main, and 2 Virtualhosts.
I want to be able to allow my 2 sons access to their websites by way of Frontpage.
I only have 1 IP address available to me, and it is dynamic.
So, what I did was create HOSTS files for them on their computers that point them to their websites.
Example:

192.168.0.2 myson1.com
192.168.0.2 myson2.com

etc.

My question is: is there a way, that they could enter

192.168.0.2:myson1.com and be able to access their sites?
I guess I want to know, is there an easier way of doing what I am doing, than the way I did it? (what?) :-)


Also:
Not sure this part of my question should be posted here, but here goes.

I am running VMWare in Linux, installed I have windows ( 98/me/2k/XPhome and XP Pro) ( for testing, I know it is overkill)

does anyone know of a way that I could share directories from Linux, to each of those OS's? ( I hope I said that right)

Anyways, as always, it has been a pleasure. thanks for any help in advance.

Bavinic

mdwatts
09-21-2002, 10:39 AM
As long as you have vhosts.conf setup correctly, you should be able to access either of the two sites by using http://myson1.com or http://myson2.com.

Is that correct or am I misunderstanding your question?

Any version of Windows cannot natively access Linux filesystems.

I'm not sure if VMware includes support or not that will allows you to access the Linux directories/files from Windows guests.

If not, you may be able to use explore2fs of which you can find with a Google for Linux or freshmeat.net search.

BaVinic
09-21-2002, 11:32 AM
Thanks MD, accessing the sites is working, I was just wondering if there was a better way of doing it , than to create hosts files on the other computers on the network.

my host file on the windows machines looks like this:

192.168.0.2 myson1.com
192.168.0.2 myson2.com

they can access the sites using IE as well as Front Page, my question was or should have been is there a way to access these sites without having to create the hosts files?

For example, to use webmin I can type 192.168.0.2:10000 from any of the computers on the network and I connect fine. is there a way of doing the same thing to access a Vhost? like something link this:?

192.168.0.2:myson1.com or anything along that line?

Thanks again for the Info.

BaVinic