DEV Community

Cover image for Running Servers Through VirtualBox
Nathan S.R.
Nathan S.R.

Posted on

Running Servers Through VirtualBox

Ever wanted to run your Servers through VirtualBox OR Don't have the time or resources to run a full bare-metal hypervisors like ESXi, Microsoft Hyper-V or KVM ?

Yes, it's quite possible to do so. Just follow this guide along and you would be able to get a Server up and running in a few minutes.

Requirements :

  1. Attach the Network to a Bridged Adapter in the Virtual Machine's Settings and Choose a Ethernet Card Network Adapter. Needless to say, the machine must be connected to your Router with a LAN cable and the Router Powered ON. If the Router has an enabled DHCP server inside, then the VM will be able to get an ip address from it quickly, after starting up.

Refer Screenshot Below :

Bridged Adapter

  1. Enable the "Remote Desktop Discovery" / "Turn on Network Discovery" from the Guest Windows Start Menu OR if your Guest Server is a LINUX Type, then install the avahi-daemon package, from your terminal package manager like apt, yum etc., for enabling network discovery. This will help your Server to get an easy host name resolution over the LAN, instead of using ip address each time. Your Server name will be something like ( with .local suffix automatically added to it ) :
yourservername.local

OR

https://yourservername.local

Enter fullscreen mode Exit fullscreen mode

That's all. If you are further interested, my open source project profile page has a number of such ready-to-use servers, here : https://sourceforge.net/u/nathan-sr/profile/

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay