NameVirtualHost 192.168.115.35
VirtualHost example:
Almost any Apache directive may go into a VirtualHost container.
The first VirtualHost section is used for requests without a known
server name.
<VirtualHost 192.168.115.35>
ServerAdmin admin@mydomain.net
DocumentRoot d:/WEB/muc
ServerName muc.mydomain.net
ErrorLog logs/muc.mydomain.net
CustomLog logs/muc.mydomain.net common
</VirtualHost>
<VirtualHost 192.168.115.35>
ServerAdmin admin@mydomain.net
DocumentRoot d:/WEB/info
ServerName info.mydomain.net
ErrorLog logs/info.mydomain.net
CustomLog logs/info.mydomain.net common
</VirtualHost>
Ich habe das jetzt so geädnert.....
Allerdings komme ich jetztz immer auf die Seite von mydomain.net und nicht auf info. bzw. muc.
Muss ich jetzt noch Server aliase angeben???
Die angabe des Ports kann vernachlässigt werden, da ohnehin nur der Port 80 durch die firewall geht.