Click to See Complete Forum and Search --> : setup an apache subdomain


sporkit
07-28-2004, 05:02 PM
<VirtualHost 192.168.1.55:80>
DocumentRoot /files/sites/fateRD/
ServerName www.f8klan.com
</VirtualHost>

<VirtualHost 192.168.1.55:80>
DocumentRoot /files/sites/sporkit/
ServerName www.sporkit.com
</VirtualHost>

<VirtualHost 192.168.1.55:80>
DocumentRoot /files/sites/friends/
ServerName www.friends.sporkit.com
</VirtualHost>

ok so heres the setup i have going, im using fedora core 1. first off friends.sporkit.com is only getting dns errors. ive tried several things and it seems that if i replace the the ip address with a * then sporkit.com gets forwarded to f8klan.com. also if i take the www. away from the front of all the servernames then sporkit.com is forwarded to f8klan.com again. pretty much all the little combinations ive tried still send me back to the f8klan.com directory.

the above configuration sends to f8klan.com and sporkit.com correctly but friends.sporkit.com just gets a dns error. im i overlooking something obvious?

thanks.

bwkaz
07-28-2004, 06:35 PM
You need a DNS record for ww.friends.sporkit.com pointing at your web server's IP address. ;)

sporkit
07-28-2004, 06:50 PM
darn. heh, i sure do feel stupid now. i just realized that. i thought that sporkit.com would point to me then my server would handle the subdomain. oh well!