Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6133989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:17:58+00:00 2026-05-23T17:17:58+00:00

I removed MAMP recently. When I try to start apache from Terminal using: sudo

  • 0

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.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:17:59+00:00Added an answer on May 23, 2026 at 5:17 pm

    First, make sure you’re actually trying to execute the proper version of apachectl by issuing the following command:

    which apachectl
    

    (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)

    /etc/apache2/extra/httpd-vhosts.conf
    

    Make sure your virtual host definitions are good. (Sounds like you’re referencing a bad one).

    <VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot "/Users/yourusername/Sites/mysite"
        ServerName mysite.local
        ErrorLog "/private/var/log/apache2/mysite-error_log"
        CustomLog "/private/var/log/apache2/mysite-access_log" common
    </VirtualHost>
    

    (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:

    127.0.0.1          mysite.local
    

    Don’t forget to restart apache!

    sudo apachectl restart
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've accidentally removed Win2K compatibility from an application by using GetProcessID . I use
I've removed a checked in file from the CVS branch, i.e.: cvs remove -f
SQL Server 2000 Standard, Windows 2003 My coworker removed 'BUILTIN\Administrators' group from SQL Server
I'm using MAMP to host my Joomla website on my Macbook. I've been developing
I've been using mamp for a few days now. On both occurences, after a
I removed an attribute from an object; I made sure there is no reference
I simply removed the imgNewsList field from my Intranet.WebPart.NewsList.ascx and now it seems like
Removed link, problem solved The menu at the top is supposed to be a
I removed the footer for the time being, site had to go online. So
If I have added/removed/modified a large number of files in my local ClearCase view,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.