Sorry, I will reformulate

I want to have the following:
"mydomain.com" and "myblog.com" will resolve to IP1.
"mydomain.com" will be serverved by the webserver listening on IP1:80
"myblog.com" will be server by the webserver listening on IP2:80 - which is a jailed system.

is this possible ?


Michel wrote:
Le jeudi 3 janvier 2008, Yong Taro a écrit :
hello,
you can welcome another jail-user.

So far have some confusions, and need to clarify them out.

On the host system I want to have a webserver IP1:80 that expose some
static content with not {POST,CGI} support.
On the jailed system I want to have another webserver IP2:80 that expose
some blogging services that has full HTTP support.

Question: once the IP2 is on the same network card (alias to the IP1 -
if I got it right. IP1 is a real IP) how those two services
will serve the right users ? Did I missed something ?

thanks.
_______________________________________________

Yes : from the man page

The following frequently deployed ser-
     vices must have their individual configuration files modified to limit
     the application to listening to a specific IP address:

     To configure sshd(8), it is necessary to modify /etc/ssh/sshd_config.

     To configure sendmail(8), it is necessary to modify
     /etc/mail/sendmail.cf.

     For named(8), it is necessary to modify /etc/namedb/named.conf.

And for Apache you must have a look at hpptd.conf and change Listen 80
for
Listen IP1:80


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to