Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Subdomains root same with domain...why?
Google
Post new topic Reply to topic
Author Message
razvan162
 
 


Joined: 17 Mar 2009
Posts: 3

PostPosted: Tue Mar 24, 2009 7:09 am Reply with quoteBack to top

I have this setup in httpd.conf :

NameVirtualHost *

<VirtualHost myzone.ro>
ServerAdmin admin@localhost
DocumentRoot C:\apache2triad\htdocs
ServerName myzone.ro
ServerAlias www.myzone.ro
ErrorLog logs/myzone.ro-error_log
CustomLog logs/myzone.ro-access_log common
</VirtualHost>

<VirtualHost onlinevideos.myzone.ro>
ServerAdmin admin@localhost
DocumentRoot c:\apache2triad\htdocs\onlinevideos
ServerName onlinevideos.myzone.ro
ServerAlias www.onlinevideos.myzone.ro
ErrorLog logs/onlinevideos.myzone.ro-error_log
CustomLog logs/onlinevideos.myzone.ro-access_log common
</VirtualHost>
<VirtualHost videosearch.myzone.ro>
ServerAdmin admin@localhost
DocumentRoot c:/apache2triad/htdocs/videosearch
ServerName videosearch.myzone.ro
ServerAlias www.videosearch.myzone.ro
ErrorLog logs/videosearch.myzone.ro-error_log
CustomLog logs/videosearch.myzone.ro-access_log common
</VirtualHost>
<VirtualHost search.myzone.ro>
ServerAdmin admin@localhost
DocumentRoot c:\apache2triad\htdocs\search
ServerName search.myzone.ro
ServerAlias www.search.myzone.ro
ErrorLog logs/search.myzone.ro-error_log
CustomLog logs/search.myzone.ro-access_log common
</VirtualHost>


When i go to www.subdomain.myzone.ro i see the root of my domaind....why? Is there somenting wrong? I must have another setup in my httpd.conf ?
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT