Posted by:
Beyondtheloop
(---.ias.bredband.telia.com)
Hi, I've got problems accessing a new localhost, when I try to access I still end up at the 'old' localhost (WAMP page).
Windows host file:
127.0.0.1 localhost
127.0.0.1 swirl-dev.localhost
httpd-vhosts.conf:
NameVirtualHost *:80
<VirtualHost 127.0.0.1:80>
ServerAdmin webmaster@localhost
DocumentRoot "c:\wamp\www"
ServerName localhost
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
</VirtualHost>
<VirtualHost 127.0.0.1:80>
ServerAdmin
webmaster@swirl-dev.localhostDocumentRoot "c:\wamp\swirl-dev"
ServerName swirl-dev.localhost
</VirtualHost>
httpd.conf:
uncommented 'Include conf/extra/httpd-vhosts.conf'
Added folder 'swirl-dev' to c:/wamp/ where a test index.html file exists.
Localhost works fine but when I try to access [
swirl-dev] I get the same page as Localhost. What am I doing wrong here?