I just reviewed my virtual server definitions with cherokee admin. So my
new config file is in attach...
Also I am not very related to DNS server. So know little about how it works.
As far as I know the dns server is named?
I reviewed it config, and looks as following:
[r...@oplot data]# cat /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
zone "ursa.org.ua" {
type master;
file "/var/named/ursa.org.ua";
};
zone "j-in.org.ua" {
type master;
file "/var/named/j-in.org.ua";
};
zone "pravozahist.in.ua" {
type master;
file "/var/named/pravozahist.in.ua";
};
zone "media.j-in.org.ua" {
type master;
file "/var/named/media.j-in.org.ua";
};
[r...@oplot data]#
And also:
[r...@oplot data]# cat /var/named/media.j-in.org.ua
$TTL 3600
media.j-in.org.ua. IN SOA ns1.IDENT.vds.colocall.com.
root.oplot.vds.colocall.com. (2009101700 10800 3600 604800 86400)
media.j-in.org.ua. IN NS ns1.IDENT.vds.colocall.com.
media.j-in.org.ua. IN NS ns2.IDENT.vds.colocall.com.
media.j-in.org.ua. IN MX 10 mail
media.j-in.org.ua. IN MX 20 mail
media.j-in.org.ua. IN A 62.149.25.66
www IN A 62.149.25.66
ftp IN A 62.149.25.66
mail IN A 62.149.25.66
smtp IN A 62.149.25.66
pop IN A 62.149.25.66
media.j-in.org.ua. IN TXT "v=spf1 ip4:62.149.25.66 a mx ~all"
[r...@oplot data]#
.
Could you suggest what is wrong there? Or how to reconfigure it?
On Sat, Oct 17, 2009 at 2:36 PM, Thomas Burgess <[email protected]> wrote:
> The thing is, theres more than one way to do it. The easiest way is to
> simply point a domain with your dns server to the web servers ip, then set
> your vhost accordingly. I've found that cherokee works fine with both A
> records and C records (i haven't tried any ip6 sites yet)
>
> If you're having trouble, it's likely with the DNS server, and not the
> webserver.
>
>
>
> On Sat, Oct 17, 2009 at 3:10 AM, Oleg Oltar <[email protected]> wrote:
>
>> :(
>>
>> Seems I don't understand how to do it. Added a virtual server
>> http://media.j-in.org.ua
>> Configured it to show server info. But doesn't appears that it work. Do I
>> have to make some other configurations?
>>
>>
>> On Fri, Oct 16, 2009 at 11:29 PM, Peter-Paul van Gemerden
>> <[email protected]>wrote:
>>
>>> Just create a new virtual server, matching the subdomain.
>>>
>>> On Oct 16, 2009 10:27 PM, "Oleg Oltar" <[email protected]> wrote:
>>>
>>> Hi!
>>>
>>> Could you help me to define subdomain for my virtual server?
>>>
>>> I want to add a subdomain to my server (so it will be media.j-in.org.ua),
>>> but don't understand how to do it.
>>>
>>> I read this doc
>>> http://www.cherokee-project.com/doc/config_virtual_servers_evhost.html,
>>> but don't understand how to use it?
>>>
>>> How can I define it the way if request comes for media.j-in.org.ua, so
>>> it will be processed separately?
>>>
>>> _______________________________________________
>>> Cherokee mailing list
>>> [email protected]
>>> http://lists.octality.com/listinfo/cherokee
>>>
>>>
>>
>> _______________________________________________
>> Cherokee mailing list
>> [email protected]
>> http://lists.octality.com/listinfo/cherokee
>>
>>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee