Configure VB to use from external network with external ip address

Discussions about using Linux guests in VirtualBox.
Post Reply
Siilverscr
Posts: 1
Joined: 22. Nov 2016, 08:31

Configure VB to use from external network with external ip address

Post by Siilverscr »

Hi guys, fist at all, im new on the forum and also english is not my first lenguage, so pls do not be rude

I'm having a problem to connect from an outside network to my ubuntu server 16.10 with lamp stack, im using virtual box on windows 10.
In virtualbox im using bridge configuration and also i have port 80 open in my modem with static ip address and my windows' firewall configurate.
in my apache server.conf i have:

NameVirtualHost: 190.47.165.xxx (my external ip)
NameVirtualHost: 192.168.0.26 (ip guest from ubuntu server.)

<VirtualHost 190.47.165.xxx:80 192.168.0.26:8080>
ServerName Server
ServerAlias Server
ServerAdmin Alexis@lamp-server
DocumentRoot /var/www/html

LogLevel info
ErrorLog ${APACHE_LOG_DIR}/dev.error.log
CustomLog ${APACHE_LOG_DIR}/dev.access.log

<Location /server-status>
SetHandler server-status
</location>
<VirtualHost>


Also when i ping from windows CMD to 192.168.0.26 (guest ip) it works.
As i said, im new on this and i try to mount a server to learn and have some fun.
Any information you need to help, just ask for it!
Thank u guys c: i hope some answer or help!
Post Reply