NegativeZERO
07-27-2002, 09:32 AM
I have my domain and i want to set a sub domain to it. here is my DNS config.
$ttl 38400
forums.ns1-box1.uni.cc. IN SOA ns1-box1.uni.cc. forums.ns1-box1.uni.cc. (
1027644674
10800
3600
604800
38400 )
forums.ns1-box1.uni.cc. IN NS ns1-box1.uni.cc.
here is how I have the subdomain set, just the basic vitural server for now till I get it working.
<VirtualHost forums.ns1-box1.uni.cc:*>
DocumentRoot /var/www/vitural_host/forums.ns1-box1.uni.cc/public_html
ServerName forums.ns1-box1.uni.cc
</VirtualHost>
But after I set the virutal host in my apache server, it sets the http://www.ns1-box1.uni.cc to where it access the sub domain insted of its path.
like ns1-box1.uni.cc is /var/www/html
forums.ns1-box1.uni.cc /var/www/vitural_host/forums.ns1-box1.uni.cc/public_html
Even though I have them set to diffrent directorys, the server stil uses the path f the subdomain for the main domain.
Is there somethig wrong in my DNS config or what?
Thanks
NegativeZERO
$ttl 38400
forums.ns1-box1.uni.cc. IN SOA ns1-box1.uni.cc. forums.ns1-box1.uni.cc. (
1027644674
10800
3600
604800
38400 )
forums.ns1-box1.uni.cc. IN NS ns1-box1.uni.cc.
here is how I have the subdomain set, just the basic vitural server for now till I get it working.
<VirtualHost forums.ns1-box1.uni.cc:*>
DocumentRoot /var/www/vitural_host/forums.ns1-box1.uni.cc/public_html
ServerName forums.ns1-box1.uni.cc
</VirtualHost>
But after I set the virutal host in my apache server, it sets the http://www.ns1-box1.uni.cc to where it access the sub domain insted of its path.
like ns1-box1.uni.cc is /var/www/html
forums.ns1-box1.uni.cc /var/www/vitural_host/forums.ns1-box1.uni.cc/public_html
Even though I have them set to diffrent directorys, the server stil uses the path f the subdomain for the main domain.
Is there somethig wrong in my DNS config or what?
Thanks
NegativeZERO