PDA

View Full Version : Sub domain problem


Aziz
11-08-2005, 02:17 PM
hi guys,

I have a subdomain:

test.sonimager.com

Now I can access that domain via:

http://www.sonimager.com/test

but I cant access it via:

http://test.sonimager.com or

http://www.test.sonimager.com

directories are chmoded to 755, and I am not getting a foribidden error, but a page can not be found (firefox doesnt even load the 404 pafge I have (custom).

The error logs does not even show anything for the subdomain (blank) and no errors in the main domain that relate to the subdomain..

At first I thought that it was a A/httpd.conf problem, but as it seems all settings are in default (created a new account) and still does not work..

EDIT: For the record (after reading through 700 threads) someone mentioned that I need to restart apache/named, I did that and it still does not resolve.

Thanks,

squirrelhost
11-08-2005, 02:37 PM
you're using external dns for all of this ?

presumably, since your zone file has no entry
for your subdomain..

Aziz
11-08-2005, 02:40 PM
Originally posted by squirrelhost
you're using external dns for all of this ?

presumably, since your zone file has no entry
for your subdomain..

please go easy on me :)

whats exnternal dns?

I have created the sub domain via the control panel (all default values in the updated directadmin)..

Thanks for an explanation,

Peace,

squirrelhost
11-08-2005, 03:02 PM
the nameservers for your domain
sonimager.com (IP 207.234.147.185)

are ns{1,2}.primarydns.com
(IPs 216.219.239.7, 216.219.239.8)
which are presumably not on your server,
and neither then will be the authoritive
zone for your domain.

you can add anything you like on your server,
and there are probably zone files on there,
but the authoritative zone file will need to have
an A record for test.sonimager.com

perhaps Affinity Internet set this up for
you when they set up your server ?

Aziz
11-08-2005, 03:05 PM
Originally posted by squirrelhost
the nameservers for your domain
sonimager.com (IP 207.234.147.185)

are ns{1,2}.primarydns.com
(IPs 216.219.239.7, 216.219.239.8)
which are presumably not on your server,
and neither then will be the authoritive
zone for your domain.

you can add anything you like on your server,
and there are probably zone files on there,
but the authoritative zone file will need to have
an A record for test.sonimager.com

Thanks for your reponse..

As I got up to page 50 (thread #1002 :p), I notice a thread I posted a while ago:

http://www.directadmin.com/forum/showthread.php?s=&threadid=5870&highlight=sub+domain+not+working

Which jlasman said the exact same thing as you just said (maybe at that time I had no clue what he was talking about, but now I have gained more knowledge)..

I created a test nameservers that point to the server, and also have added a domain with those nameservers, and I will see how it goes..

Thanks again for your reply, I appreciate it.

Peace,