Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th March 2011, 16:40
Rescue9 Rescue9 is offline
Member
 
Join Date: Jun 2007
Posts: 52
Thanks: 4
Thanked 3 Times in 2 Posts
Default ISPConfig forward to VirtualBox ISPConfig

Here's my setup:

Zoneedit Nameservers point to External IP, No DNS Configs in ISPCONFIG
Ubuntu 10.04 running ISPConfig 3 on a single box
VBoxHeadless running Ubuntu 10.10 w/ new ISPConfig install (Internal IP)


mydomain.net, www, mail, and the like point to the IP of the non-virtual ISPConfig install and work perfectly. I want virtual.mydomain.net to point to IP of the non-virtual ISPConfig, but want to redirect it to the IP of the VBox ISPCONFIG.

When I tried creating rules inside the DNS portion of ISPConfig, virtual.mydomain.net would simply point to the root folder of the non-virtual server.

How do I recirect incoming requests for virtual.mydomain.net to the IP of the VBox ISPConfig setup?

{hope that makes sense... I know it's a bit cryptic}
Reply With Quote
Sponsored Links
  #2  
Old 10th March 2011, 16:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

This redirect will not work as the apache on the virtual server does not know which page it shall be deliver. To access the correct page on apache, you have to access it by domain name and not IP, so if you redirect request to the IP and not domain name of the virtual server, apache can not deliver the correct site.

IInstead of redirecting the page in ispconfig, change the router settings and point port 80 from your router to the IP of the virtual server instead.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 10th March 2011, 17:31
Rescue9 Rescue9 is offline
Member
 
Join Date: Jun 2007
Posts: 52
Thanks: 4
Thanked 3 Times in 2 Posts
Default

Hmmm.... tried that. It works, but only for requests coming from outside the network. I use NAT for everything inside, not a router, so all inside traffic redirects to the non-virtual server.
Reply With Quote
  #4  
Old 11th March 2011, 14:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
 
Default

Make sure that you change the IP address of the domain of that website to point to the IP of the virtual machine.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Email alias and forward do not work in ISPConfig 3 alecksievici Installation/Configuration 2 11th May 2010 15:12
Ftp problems timeout reny2000 General 6 23rd December 2009 11:09
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
Sun VirtualBox or VMWare for a virtual ISPConfig? make-fun General 7 21st November 2008 16:35


All times are GMT +2. The time now is 05:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.