Recommended Posts

Hi everyone,

 

I'm looking for some help with virtual webservers, and accessing them over the internet. This is a big one, and quite technical, so I was trying to eye up @BudMan at the bar for this waving a pint at him, let's see if he bites. First off, some info about my server:

 

MB/CPU/RAM: SuperMicro X9DRL-iF MB, dual Xeon E5-2620 CPU's & 32GB ECC RAM

Case: Phanteks Enthoo Pro full size tower case with dual Corsair watercoolers and case fans.

OS: Windows Server 2012 - configured as Active Directory and Apache server for domain "kitamuracomputers.net" with several subdomains.

System hostname: riku.kitamuracomputers.net

Network IP addressing: Manual/Static

Virtualisation Software: VirtualBox and VMWare Workstation 12 Pro

 

This beastly computer above, known as Riku, is the leading mechanical lady that powers my entire small computer repair business with her companion mirror backup server Cleo, they never miss a beat (reliable multitasking ladies lol), and I want to start using Riku for virtualisation, except I'm not as up-to-date with virtualisation as I should be, too busy running the business and looking after customers, and the servers. I know, I know, solutions not excuses, but oh well, abusing my own company oath! I'm the boss, I can be naughty now and again, it's in my geek blood :)

 

I can install OS'es and all that stuff, and set up VM's for access over the internet via RDP, and assign manual IP addresses to VM's. I'm not quite at the VMWare eSXi (is it still called that?!?) data farm stage lol, but I'm getting there and I love virtualization, it's so easy backing them up and snapshotting!

 

My issue

 

I want to set up virtual servers. Here's the steps I take:

 

1. Use either Linux or Windows in a VM, and install a LAMP or WAMP stack (fully securing it regards passwords and all that before web facing it, of course), giving it a static IP address and host name, in this case, "sarah.kitamuracomputers.net".

2. Create a basic website on the VM, testing the stack locally which works fine, also works outside the VM on the network.

3. Set up subdomain A records for the (example) name "sarah.kitamuracomputers.net" on both Active Directory on Riku and my domain registrar.

 

However, I can access the VM site perfectly on the internal network, but not over the internet, the main webpage for kitamuracomputers.net comes up (which is handled by the host webserver) instead of the one for the sarah.kitamuracomputers.net VM.

Riku herself is our main webserver for the domain, running Apache, PHP, MySQL and TomCat. She also handles subdomains via Virtual Hosts in Apache. This is where I think the problem lies. It's either a port issue (port 80 on both?) or either Active Directory or Apache VirtualHost isn't redirecting the requests properly. Apache on the host and the Apache on the VM seem to be conflicting somewhere, and I can't figure out where. All the guides on StackOverflow et-al assume the host doesn't have a server on it, which ours does.

 

The reason I ask all this is because we want to start a cloud service using OwnCloud, and a tutorial video system using ClipBucket for customer/staff use, but only Linux is supported as OS for both, so I will need to virtualize it as we don't want another machine running just to run this when our beasty leading electrical lady has all that power.

 

Am I getting the traffic direction right? Router -> Riku (Server) -> Active Directory/Apache -> VM?

 

From what I can see through research I need to set up RewriteRules because the host and guest are webservers? Our router has all the appropriate forwarding done. You're probably thinking I'm biting off too much, but I love a challenge, :) even an impossible one!

Link to comment
https://www.neowin.net/forum/topic/1351196-access-vm-webserver-over-internet/
Share on other sites

You want to run a business running on workstation and virtualbox?  Those are type 1 hypervisors... Move to something a bit more stable and less resource hungry.. Esxi is still FREE.. Or if your windows show why not run hyper-v?  Or Xen even.. 

 

How many public IPs do you have to host this cloud service?  You can for sure point different fqdn to different boxes behind your public IP... But you would have to use a reverse proxy to do it..

 

What sort of bandwidth do you have to host a cloud business?

 

 

 

  On 18/12/2017 at 20:50, BudMan said:

You want to run a business running on workstation and virtualbox?  Those are type 1 hypervisors... Move to something a bit more stable and less resource hungry.. Esxi is still FREE.. Or if your windows show why not run hyper-v?  Or Xen even.. 

 

How many public IPs do you have to host this cloud service?  You can for sure point different fqdn to different boxes behind your public IP... But you would have to use a reverse proxy to do it..

 

What sort of bandwidth do you have to host a cloud business?

 

 

 

Expand  

It's not going to be a fully blown cloud business like OneDrive, just some free space for customers to store backups and personal stuff. We were going to use it as a promotional USP say "Have a repair with us and get 500GB free cloud space!" It also makes it easier for staff out on repair jobs to backup systems if they wash & wipe, we've had occurrences of external HDD & USB drives failing out on jobs, this is a failsafe.

 

As to bandwidth I'm not sure, but I know we can have it extended if need be. We have 1 static public IP. Reverse proxy, sounds familiar. How would I go about it in a VirtualHost?

This topic is now closed to further replies.
  • Posts

    • Last I checked, their "support clock" runs for five years. So EOL at end of 2028 for this model? Roll your own looks better all the time. I do understand that's not for everyone. I think the least they could do is offer you six months of free cloud so you could migrate to new hardware when the time comes. Assuming you stick with them as your hardware vendor, of course.
    • Music Collection 3.9.1.1 by Razvan Serea Music Collection is a free tool to archive and manage your music library. Add CDs, LPs, tapes, or digital files manually or via the Internet. Retrieve album data by artist, title, barcode, catalog number, or CD scan. Auto-import metadata from audio files. Browse, sort, filter, export, import, and generate reports effortlessly. Music Collection features: The program creates the collection's database in a Microsoft Access format, so if you want later, you can use it, without the help of the program. The user can create as many as different collections wants. Accepts all kinds of musical media (cd, lp, dvd-a, audio files etc.). Specially customized to add and edit classical music albums. Retrieves data from the Internet, such as cd info, album cover, artist information, tracks, and the lyrics of each track etc. For every album the program saves all media contained, every medium tracks and the lyrics for every track. Displays albums using filters or the advanced search feature. Lists selected albums in a grid or using images (default setting). Presents all items contained in the album, in one page for an easy album overview. The details that are shown there are: album cover, album artists, notes, the tracks of each medium, the lyrics of each track and the duration of each one, as well as the total duration of the album. Exports album information to html file. Exports collection albums to html,txt,csv,excel files. Imports album information from text files exported by another program. Manages all program data, such as a list of singers, composers, etc. Manages artist information (biography, best albums). Prints all the data shown in each table.. Creates reports, which you can configure by your preference.. Manages album loans. Shows collection statistics. Searches for tracks and opens the album medium that contains them. Skinable. The user can select from 30 different skins. Multi-language support. Music Collection 3.9.1.1 changelog: Added: Show selected group item total duration. Added: Option to show only the checked albums. Added: Save the checked album property. Added: Play checked tracks. Fixed: Some minor bugs. Download: Music Collection 3.9.1.1 | 8.0 MB (Freeware) Download: Portable Music Collection 3.9.1.1 View: Music Collection Home page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Well, the interface is horrible. PST isn't fully functional. Can't properly import Thunderbird contacts into it. All that showed up are names.
    • "all the way down" by 33 whole dollars. Amazing. You shouldn't have.
    • If they make a portable version, I might give it a try, but I will always prefer hotkeys to that approach
  • Recent Achievements

    • Conversation Starter
      Kavin25 earned a badge
      Conversation Starter
    • One Month Later
      Leonard grant earned a badge
      One Month Later
    • Week One Done
      pcdoctorsnet earned a badge
      Week One Done
    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      529
    2. 2
      ATLien_0
      207
    3. 3
      +FloatingFatMan
      168
    4. 4
      Michael Scrip
      150
    5. 5
      snowy owl
      125
  • Tell a friend

    Love Neowin? Tell a friend!