views:

283

answers:

0

I'm trying to set up a subdomain for a site on an Apache server.

I've added in DNS entries for the subdomain and added

<VirtualHost 192.168.1.2:80>
ServerName sub.domain.com
DocumentRoot /export/home/sites/domain/web/sub
</VirtualHost>

to the vhosts.conf file.

This is still not resolving to the site. If I do an "nslookup sub.domain.com" then I don't get a response.

Anyone got any ideas or am I doing something massively retarded?

Cheers