I try to setup local domains for testing. I set it in my /etc/hosts with 127.0.0.1 and setup the virtual host in httpd.conf. But when I call url i get:
Not found.
The requested URL was not found on this server.
I also uncomment Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf. And I also checked the Document Root. It is the same as said in phpinfo, when i open the page dirct with the open button in mamp.
Is it possible that my mamp does not use this httpd.conf? Because when i delete everything from it and restart, mamp restarts without problems. I just dont know what can i do now. All manuals/blogs say the same thing, and i did it. But it does not work.
You can only update Apache files from MAMP's templates File -> Open Template. Updating the files directly will not save them and will get overwritten. Also, it may not apply to you but see viewtopic.php?f=3&t=40