Author Topic: How to build and acces to subdomain  (Read 1399 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to build and acces to subdomain
« on: March 16, 2016, 04:24:09 PM »
Hi everyone,

I would like to know if people manage to fix issue with subdomain ! I am trying to add subdomain to my user/domain : FTP folder is automaticly created, vhost.conf and seems good. But when I got to :

- IP/~subdomain.domain/
- www.subdomain.domain.com

I have one 404 page error like if it doesn't exist.

My domain.db is :

Code: [Select]
; Panel %version%
; Zone file for mymy
$TTL 14400
mymy.      86400        IN      SOA     ns1.centos-webpanel.com. mymy.sr-web.com. (
         2013071600      ; serial, todays date+todays
                86400           ; refresh, seconds
          7200            ; retry, seconds
            3600000         ; expire, seconds
           86400 )         ; minimum, seconds

mymy. 86400 IN NS ns1.centos-webpanel.com.
mymy. 86400 IN NS ns2.centos-webpanel.com.

mymy. IN A 91.121.76.114

localhost.mymy. IN A 127.0.0.1

mymy. IN MX 0 mymy.

mail IN CNAME mymy.
www IN CNAME mymy.
ftp IN CNAME mymy.
; Add additional settings below this line
test     14400   IN      A       91.121.76.114 ; #subdomain test

I already tried to add some lines like :

test.mymy. IN A 91.121.76.114
test. IN A 91.121.76.114

but nothing as change !

It would be great if you had some idea ... ?

Offline
*
Re: How to build and acces to subdomain
« Reply #1 on: June 06, 2016, 09:06:18 AM »
Hi Everyone,

I am also facing same issue, when I create a subdomain for my main domain.

like example: sub.maildomain.com

I am getting nothing when accessing from web browser.

Can any one please help me on this?

Thanks,