Author Topic: www not only works on subdomain  (Read 3645 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
www not only works on subdomain
« on: November 26, 2015, 03:10:26 PM »
Hello,

I need help with

I can not access subdomains using www. front

example

www.subdomain1.domain.org does not work

subdomain1.domain.org works

www.domain.org works

domain.org works

configuration file domain.org.db

Code: [Select]
; Panel %version%
; Zone file for domain.org
$TTL 14400
domain.org.      86400      IN      SOA      vai.domain.org.      adminemail.server.com.      (
      2015112609 ;serial, todays date+todays
      86400 ;refresh, seconds
      7200 ;retry, seconds
      3600000 ;expire, seconds
      86400 ;minimum, seconds
      )


domain.org.      86400      IN      NS      vai.domain.org.
domain.org.      86400      IN      NS      vem.domain.org.
domain.org.      0      IN      A      SERVER_IP_1
localhost.domain.org.      0      IN      A      127.0.0.1
domain.org.      0      IN      MX      5      domain.org.
mail      0      IN      CNAME      domain.org.
www      0      IN      CNAME      domain.org.
ftp      0      IN      CNAME      domain.org.
;      Add      additional           
subdomain1      14400      IN      A      SERVER_IP_1      ;     
vai      14400      IN      A      SERVER_IP_1
vem      14400      IN      A      SERVER_IP_2
subdomain2      14400      IN      A      SERVER_IP_1      ; 

in leafdns passed all tests

I spent all morning reading about dns, I made a lot of changes but not one had effect, so I'm asking for help,

thank you

Offline
*****
Re: www not only works on subdomain
« Reply #1 on: December 01, 2015, 11:53:12 AM »
Hello.

Try to add:

Code: [Select]
www.subdomain IN      A      SERVER_IPor if it won't help:
Code: [Select]
www.subdomain.domain.com. IN      A      SERVER_IP
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services