Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[ubuntu] Ubuntu-Server on Virtual box from window.

$
0
0
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 mi 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.
Thank u guys c: i hope some answer or help!

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>