0

I'm messing up with django/wordpress/node, etc, and I've used MAMP and other stuff. The problem now is that, I'm trying to use Laravel's Valet. And when I try to access mysite.dev , it opens another website I may have created in the past, which is just an with the "it works!" sentence. I tried rebooting, shutting down mysql, trying other ports...nothing. Help?

João Vilaça
  • 601
  • 1
  • 6
  • 13
  • check your apache virtual host configuration, httpd-vhost.conf file – JOGOOL Jun 04 '17 at 14:17
  • where do i see that's running? i just restarted apache and same error. I get a "it works!". I dunno which php or node project is running.. – João Vilaça Jun 04 '17 at 14:21
  • Mamp is not running, I rebooted my pc, i stopped all services with brew, I still get than index.html from somewhere.. – João Vilaça Jun 04 '17 at 14:22
  • stop Django web server and start Mamp apache server, seems you have conflict with two web server. – JOGOOL Jun 04 '17 at 14:24
  • There's nothing running atm, I even shutdown my computer...And removed the django project's folder... – João Vilaça Jun 04 '17 at 14:25
  • ok, i ran sudo apachectl stop and it didnt loaded the mysterious index.html, when i started again it ran again. So it's some apache conflict...how do i know where's the file being loaded? – João Vilaça Jun 04 '17 at 14:30
  • Can you check list of running services on your Mac after shutdown. run the command $ ps aux – JOGOOL Jun 04 '17 at 14:30
  • How can i edit my apache conf? to see where's the folder he is running that index.html .. – João Vilaça Jun 04 '17 at 14:31
  • ok, i inspected further and it seems it has react js there, so it must have been some react app or react-native app, or some xcode stuff – João Vilaça Jun 04 '17 at 14:37
  • Can you share `apache2/sites-available/000-default.conf` file? Did you check it maybe you did a routing for your old project. – Erdi Genç Jun 04 '17 at 16:20
  • I stopped apache, re installed laravel valet, and now it worked. The routing must have been made by the app or other xcode stuff tested with...thank you:) – João Vilaça Jun 04 '17 at 16:22
  • You're welcome. I'm happy to solve. :) – Erdi Genç Jun 04 '17 at 16:24

0 Answers0