Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

Hyper-V running multiple IIS servers

$
0
0

Hi Everyone,

I'm very new to the virtualization scene. I have a had a server running with Windows Server 2008R2, IIS, SQL Server for some sites and web applications that I develop. What I'm trying to do now is migrate into a "VPS" like set up. Here is what i'm trying to achieve:

  • Host Server: Windows Server 2008 R2 ( or just Hyper-V server if you recommend it)
  • Want to run multiple virtual machines, all running their own IIS, SQL and so on. I need multiple vms because I'm trying to use this as my development server and all of these VMs will run different things. For example one VM might run Windows Server 2003 with IIS + SQL while the other runs Server 2008 + IIS + SQL

What I need to know is how I should set this server up and what i need. I've been playing around with it and I installed Server 2008R2 on the host, and installed Hyper-V as a role. The host server has been set up to have a static IP of 192.168.1.111. I've set up my router to forward all requests to this IP (192.168.1.111) for the current moment (DMZ), so I'm using 192.168.1.111 as if it were the "public" IP provided by ISP. Also added a VM into Hyper-V with Windows Server 2008 R2 Standard. And in the VM I added a role of IIS for it so I can see how it works. Also, I connected the Network adapter as an "External Virtual Network". With this setup my router is successfully giving the VM an IP address and I can view the site using any computer on my network using the the VM's IP address (192.168.1.112).

I've also tried to set up an internal network, but I don't think I did it correctly. All I did was add an internal network in Hyper-V, and then set the VM's adapter to the internal network. The only problem with this is I get a very wierd IP assigned (168.254.x.x) and I cannot ping the host and the host cannot ping the VM. When I ping the host from within the VM it states: "PING: transmit failed".

1. So what I'm stuck at is how do I get my domain name (www.digitalcrown.com) to get forwarded to that VM?

2. What if I wanted to added another VM that will only handle requests from another domain (example.com). By this I mean, VM1 handles HTTP requests for digitalcrown.com and VM2 handles HTTP requests for example.com. I've read up and some people suggest adding IIS to the host and using a redirect, but this doesn't seem quite right to me. Pretty much what I'm trying to accomplish is what VPS hosting companies do!

I'm pretty sure I'm missing something along the lines of RRES? DNS? DHCP? I'm very confused, been working at this for over 3 days now, and google has not been friendly!

BTW I only have one static external IP. So as of right now all the domain names I own point to the same IP, which means I need some way to prase these requests that come in and direct it to the correct VM. (DNS?)

UPDATED: Also, some specs on the server hardware: Dual NIC, Xeon X3430.

Please advise, or even a link to some step-by-step guide to have your own VPS system running would be of great help!

 

Your help is GREATLY appreciated!


Viewing all articles
Browse latest Browse all 19461

Trending Articles



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