Configure your virtual machine adapter as Bridged Adapter
.
Boot into your Ubuntu VM and run following command to get your IP address.
hostname -I
Now you can use ssh to access your server with that IP address or open-up website from your browser if you're running any web server.
If you want to add local network to your server aswell, then add Network Adapter 2 as Internal Network
Edit /etc/network/interfaces
and add static adapter as eth1
auto eth1
iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.0
When this is done, bring your adapter up.
ifup eth1