Lyckas inte riktigt får virtualhosts att fungera som jag tänkt:
Går jag in på IP: 213.213.213.213 kommer jag till samma som om jag får in på
hostname.se som pekar på 213.213.213.213
Men vill som sagt att om jag går in på IPet så skall jag komma till default doc rooten inte "D:/webb/sites/hostname.se" och får jag in på hostname.se så skall jag komma till rätt mapp.
NameVirtualHost *:80
#
# 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 *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot "D:/Webb/sites/docroot"
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost><VirtualHost *:80>
ServerAdmin webmaster@hostname.se
DocumentRoot "D:/webb/sites/hostname.se"
ServerName hostname.se
</VirtualHost>