Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently added a subdomain and it just does not show, I defined the domain on the apache hosting server and added the relevant dns records but somehow it is still not working. The root domain works but not the subdomain. I'm using powerdns on a centos machine.


When I PING it gets a respone. If I ping I get no response

The setup looks as follows.

record  TTL     TYPE            value
m   28800   CNAME

On the hosting server my virtualhost file looks like this

<VirtualHost *:80>
  DocumentRoot /var/www/html/
  DirectoryIndex default.php default.htm default.html index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.jsp Default.htm Default.php

the folder exists

http -t showed no errors

If I use nslookup

I get the following

work@work-laptop:~$ nslookup

** server can't find NXDOMAIN

The live site is on the same server as the syub domain, that's why I used CNAME

share|improve this question
We need more detail than this, what happens when you ping the domain? how have you set it up in DNS, is at an A record CName? – Sam Feb 22 '10 at 10:52
@Sam I added more details to the question – Roland Feb 22 '10 at 11:03
up vote 1 down vote accepted

Your CName record currently looks like this:

record  TTL     TYPE            value
m   28800   CNAME

it should look like this

record           TTL     TYPE            value   28800   CNAME

You need to specify the FQDN in the CName record.

share|improve this answer
I modified this and get Server cannot be found again – Roland Feb 22 '10 at 11:25
The serial never updated. – Roland Feb 22 '10 at 11:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.