You are not logged in.

#1 2012-04-22 17:24:52

shalaby
Member
Registered: 2011-01-06
Posts: 44

[SOLVED]access apache from windows inside virtual box

Hi everyone,
I am a web developer and I use Linux and i have Apache, MySQL running on it, I have windows xp running as a guest inside Virtual Box, I really want to access my apache from windows guest so i test my sites on internet explorer, please help me, i tried the documents, and the forum here but i could not figure out how to do it, so please what is the simplest way to do this?

Last edited by shalaby (2012-04-22 19:52:13)

Offline

#2 2012-04-22 17:53:54

seveg
Member
From: Bratislava, Slovakia
Registered: 2012-04-17
Posts: 33

Re: [SOLVED]access apache from windows inside virtual box

Just setup networking between host and guest and configure apache to listen on remotely accessible IP and you should be able to connect from guest.


Just another drug abuser..

Offline

#3 2012-04-22 18:00:16

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]access apache from windows inside virtual box

It'll depend on which networking mode you're using on that guest. If you're using the default (NAT), you can simply reach your host os on the default gateway ip of the guest's network adapter.


Burninate!

Offline

#4 2012-04-22 18:40:40

shalaby
Member
Registered: 2011-01-06
Posts: 44

Re: [SOLVED]access apache from windows inside virtual box

i use NAT , and on the host i use user directories, i access my web server using http://localhost/~username , then what is the address i can use to access that from the guest?

Offline

#5 2012-04-22 19:35:19

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]access apache from windows inside virtual box

Like I said in my previous post; "ipconfig /all" on your Windows Xp guest, see what the default gateway ip is and then http://<defaultgwip>/~username


Burninate!

Offline

#6 2012-04-22 19:51:44

shalaby
Member
Registered: 2011-01-06
Posts: 44

Re: [SOLVED]access apache from windows inside virtual box

thank yoy, it worked smile

Offline

Board footer

Powered by FluxBB