View Single Post
  #1  
Old 22nd October 2011, 11:16
sjswarts sjswarts is offline
Senior Member
 
Join Date: May 2011
Location: Australia
Posts: 135
Thanks: 17
Thanked 5 Times in 5 Posts
Default Sub-domain redirect to Virtual machine

Hi guys, (IP addresses aren't real)

I HAVE purchased the ISPConfig Manual already - still can't figure it out
What I need to do is this:

I have a Debian Server running ISPConfig 3 which works fine with my websites so far. What I want to do is host a sub domain on a virtual machine.

Currently my setup is
ISPConfig 3 server : 192.168.1.1/24 server1.example.com
Virtual Machine: 192.168.1.8/24 server2.example.com

If i put the ip address into the url with 192.168.1.8/test it shows the website i want, but if i put in www.example.com/test it comes back with a error.

I have added a sub-domain in ISPConfig
Host: server2
Domain: example.com
Redirect: R,L
Redirect path: http://server2.example.com/test/

I have a CNAME entry as
server2 192.168.1.8

What am I missing??? This has me stumped... Thanks in advance
Reply With Quote
Sponsored Links