Windows Vista Tips

Windows Vista Tips > Newsgroups > Virtual PC > using virtual pc to publish web site on it

Reply
Thread Tools Display Modes

using virtual pc to publish web site on it

 
 
ton
Guest
Posts: n/a

 
      12-13-2009
Hi,

In VS2008 I've developed a Web app. It is published on a server and it
works. But since I ve installed several components on my server I'm not sure
what I need exactly . So I thought. Use Virtal PC (2007) to add a 2003
server and then publish or install whatever my website to it.

But how can I publish on a disk of my virtual pc (server). The only shared
drive is on the real pc.
The next question is how can I use this webserver from another pc to test
the application.

What should I do. This isnt't a strange requirement, of is virtual pc just
an island where no other (virtual or host) pc can get at it.

Please help


Ton

 
Reply With Quote
 
 
 
 
ton
Guest
Posts: n/a

 
      12-14-2009
I'm sorry but I cannot see this virtual pc form my develop pc (which host
the virtual pc).
I can ping from my host to the server but there is no answer.

The other way round does function, and the database server can be ping-ed as
well

thanx

ton


"Mark Rae [MVP]" <> schreef in bericht
news:...
> "ton" <> wrote in message
> news:7818b$4b253128$541ee3ce$ b.home.nl...
>
>> But how can I publish on a disk of my virtual PC (server).

>
> Exactly the same way you would publich a website to any other machine
> running a webserver - there is no difference...
>
>
>> The only shared drive is on the real PC.

>
> You don't need a shared drive to host a website. And your virtual machine
> is a real machine, just like your physical machine. There really is no
> difference as far as the software (both OS and app) running on it is
> concerned.
>
>
>> The next question is how can I use this webserver from another PC to test
>> the application.

>
> See above.
>
>
>> What should I do.

>
> What you should do is to consider your virtual machine as identical in
> every way to a physical machine. If you wanted to do this on a physical
> machine as opposed to a virtual machine, how would you do it? However you
> would do it, the answer is the same for a virtual machine...
>
>
> --
> Mark Rae
> ASP.NET MVP
> http://www.markrae.net


 
Reply With Quote
 
ton
Guest
Posts: n/a

 
      12-14-2009
forget the last answer, this is what is happening:

I'm sorry but I cannot see this virtual pc form my develop pc (which host
the virtual pc).
I can ping from my host to the server but there is no answer.

The other way round does NOT function either, BUT the database server (a
different real pc) can be ping-ed

thanx

ton

"ton" <> schreef in bericht
news:ce748$4b25fe70$541ee3ce$ .home.nl...
> I'm sorry but I cannot see this virtual pc form my develop pc (which host
> the virtual pc).
> I can ping from my host to the server but there is no answer.
>
> The other way round does function, and the database server can be ping-ed
> as well
>
> thanx
>
> ton
>
>
> "Mark Rae [MVP]" <> schreef in bericht
> news:...
>> "ton" <> wrote in message
>> news:7818b$4b253128$541ee3ce$ b.home.nl...
>>
>>> But how can I publish on a disk of my virtual PC (server).

>>
>> Exactly the same way you would publich a website to any other machine
>> running a webserver - there is no difference...
>>
>>
>>> The only shared drive is on the real PC.

>>
>> You don't need a shared drive to host a website. And your virtual machine
>> is a real machine, just like your physical machine. There really is no
>> difference as far as the software (both OS and app) running on it is
>> concerned.
>>
>>
>>> The next question is how can I use this webserver from another PC to
>>> test the application.

>>
>> See above.
>>
>>
>>> What should I do.

>>
>> What you should do is to consider your virtual machine as identical in
>> every way to a physical machine. If you wanted to do this on a physical
>> machine as opposed to a virtual machine, how would you do it? However you
>> would do it, the answer is the same for a virtual machine...
>>
>>
>> --
>> Mark Rae
>> ASP.NET MVP
>> http://www.markrae.net

>


 
Reply With Quote
 
Steve Jain [MVP]
Guest
Posts: n/a

 
      12-14-2009
On Mon, 14 Dec 2009 10:17:57 +0100, "ton" <> wrote:

>forget the last answer, this is what is happening:
>
>I'm sorry but I cannot see this virtual pc form my develop pc (which host
>the virtual pc).
>I can ping from my host to the server but there is no answer.
>
>The other way round does NOT function either, BUT the database server (a
>different real pc) can be ping-ed
>
>thanx
>
>ton


Have you opened the correct ports on your host firewall?

--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
http://smudj.wordpress.com/
 
Reply With Quote
 
Andreas Ziegler
Guest
Posts: n/a

 
      12-14-2009
ton wrote:
> ...
>
> But how can I publish on a disk of my virtual pc (server). The only
> shared drive is on the real pc.
> The next question is how can I use this webserver from another pc to
> test the application.
>
> ...


You should configure your guest machine to use an existing network
adapter, do not use NAT. If your network has a DHCP server, configure
the network inside the client to automatically obtain an address,
otherwise you must specify it yourself. Afterwards you can reach your
client by IP address from any other PC on the network. If you operate a
windows network with WINS enabled, you can also reach it via the
server's hostname, otherwise configure your DNS server or edit the hosts
file(s) on the servers you want to connect from. DHCP and no WINS can
present a bit of a problem ;-) In that case, if you have control over
your DHCP server, you might try 'fixed' DHCP addresses.

After that it's just a question of configuring your web server and
deploying your application - either via ftp or a shared drive (as your
web server is part of your network, you can share directories on it
using SMB).

Regards,
Andreas
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DOMParser Undefined error Rich S Internet Explorer 2 12-01-2009 08:33 AM
Re: Computer restarts when starting virtual machine Bo Berglund Virtual PC 0 11-22-2009 06:15 PM
Can't re-create default virtual directories. OscarVogel Windows Small Business Server 3 11-13-2009 02:01 AM
MS Virtual PC 2007 - virtual hard disk Jon Windows Vista Installation 2 09-16-2007 08:36 AM
MS Virtual PC and Windows Vista Beta 2 Ed Fitzgerald Windows Vista Installation 1 06-12-2006 12:19 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59