Disabled OS X Server still appear on localhost

Before when I entered localhost into the browser there was my localhost from MAMP, basically directory for my web repositories. Recently I installed OS X Server, and now when I enter localhost into the browser there is:

enter image description here

How to disable OS X Server and bring back to my MAMP localhost?

In OS X Server everything is turned off:

enter image description here


You need to turn off the Webserver from OS X Server's Server Admin. In fact, if you are not planning to use it, I would recommend shutting down all the services from Server Admin


There are actually two things you could do.

Option 1 You can edit your host file and so localhost won't be used by OS X server anymore. How to edit your host file is explained in this link.

Option 2 I prefer this option, which is available in MAMP PRO. I'm not sure if it is available in the free version of MAMP.

When you open MAMP, click on the host tab. You will now see this screen: Screenshot of MAMP PRO - Hosts You can than change the server name and start/restart you services to apply the changes. In the screenshot above, I can access my website

http://localhost/ and http://website/

I hope this will solve your problem.