Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: ctek on August 17, 2009, 08:26:05 pm

Title: ebox webserver + 1 behind [FIXED]
Post by: ctek on August 17, 2009, 08:26:05 pm
Hi

I have the following situation.

I have to put in the ebox:
- one page www.domain.com (i have put the files directly in /var/www/ and it works) and then
- another page service.domain.com - this is on a webserver inside the LAN and i have to make it also visible from outside via domain name not only port forward.

ex: service.domain.com -> htaccess redirect to www.domain.com:8080.

I have tried to add a virtual host and then redirect via htaccess to a forwarded port to the machine but no avail.

Further more, now not even the www page is working... It's a nightmare...
Can someone please give me some advices.
Thank you

FIX: I have created a virtual host for www also and make a proper name