Hallo,
Ik ben al een aantal weken bezig met één website via XAMPP, nu wou ik vandaag een twee virtualhost opzetten maar als ik naar deze URL ging kwam ik ook weer op mijn eerste virtualhost...
Mijn virtualhosts:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/portfolio"
ServerName portfolio.loc
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/tpt"
ServerName tpt.loc
</VirtualHost>
hosts bestand in etc map:
127.0.0.1 localhost
::1 loc
127.0.0.1 portfolio.loc
127.0.0.1 tpt.loc
Maar als ik nu naar tpt.loc ga kom ik ook op portfolio.loc uit al staat er wel tpt.loc in mijn adresbalk.
Als ik naar portfolio.loc ga kom ik wel gewoon op de goede pagina uit...