web(HTTP) services in host and jailed systems

Yong Taro yanicher at gmail.com
Thu Jan 3 03:19:18 PST 2008


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
>
>
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
>
>   



More information about the freebsd-jail mailing list