Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 08-09-2010, 03:24 PM   #1
LQ Newbie
Registered: Jun 2010
Posts: 4

Rep: Reputation: 0
Question How to access a website installed over virtualized server from your local machine?


I want to access a website installed over my virtualized server from my local machine from my browser. How can I do that?
I have installed UBuntu 9.10 server in Virtual Box and it works great.
Apache is up and running.

My machine is behind a router, whose IP is changing every 24h.
- The IP address of the virtualized ubuntu server over the subnetwork is
- The IP of the (real) machine over the subnetwork is,
- The IP of the router over the subnetwork is
- The IP of the router over the web is (for example) and changes every 24h

So I don't think it's necessary to point my dns to, there must be another way to access the website hosted on my virtualized web server from my local machine?


Last edited by natoinet; 08-09-2010 at 03:27 PM. Reason: Clarification
Old 08-09-2010, 03:29 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
Just browse to
Old 08-09-2010, 04:53 PM   #3
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
I presume the task here is to be able to browse to from outside of the private network? One option might be allowing the virtual machine to speak to the router and use NAT. however as you appear to be using DHCP with a daily update, you might have to use a service like Dynamic DNS if you want to be able to connect to the server outside of the private network at any given point. Alternatively if you can get to the main machine you could use a tunnel to the machine and route traffic down that if this is just for yourself....

I think if you could clarify essentially where you local machine is and who/what needs to be able to browse your server to help give more suitable advice (IE just you, you and other people, anybody on the Internet, etc).
Old 08-18-2010, 01:47 AM   #4
Senior Member
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
What networking option have you selected for the guest. The default is NAT which lets you "get out", but if you want to provide a service from the guest then you might want to look at bridged networking.


apache, virtual, website

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
www ilo local ip to access website on lan tryangle Linux - Networking 9 09-18-2009 09:11 PM
Squid server not giving access to my local machine to internet ashish1983 Linux - Newbie 3 05-14-2009 12:15 AM
Access Local Port on Website Garibaldi3489 Linux - Networking 1 11-29-2007 01:43 PM
Unable to access website from local network pioniere Linux - Networking 8 07-31-2006 09:09 AM
restricting website access from local machine Stridier Linux - Networking 9 01-30-2006 04:26 AM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration