I removed MAMP recently.
When I try to start apache from Terminal using:
sudo apachectl -k restart
I am getting the message
Warning: DocumentRoot [usr/docs/dummy-host.example.com] does not exist.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, make sure you’re actually trying to execute the proper version of apachectl by issuing the following command:
(You don’t want to see any MAMP references there).
Next, find your virtual hosts config (which is likely here if your MAMP references are gone)
Make sure your virtual host definitions are good. (Sounds like you’re referencing a bad one).
(If you’re using a custom server name other than ‘localhost’ like I’ve defined above, just be sure your /etc/hosts file is up to date with that entry like this:
Don’t forget to restart apache!