logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Problem With Apache Server Installation on Macbook Retina?
Author
nispri



Joined: 10 Jan 2021
Posts: 3
Location: nowhere, kansas

PostPosted: Tue 12 Jan '21 3:56    Post subject: Problem With Apache Server Installation on Macbook Retina? Reply with quote

I messed with my httpd installation on my macbook retina when I was trying to get localhost.run to work with a Wordpress.org website I wanted to host. I tried to run an httpd installer from the internet and then tried to uninstall it without knowing apache is already installed on OS X.

I managed to get the website to work so you can visit the website on any other machine, but on my macbook retina visiting both localhost or that website only reaches the apache's default 'It works!' page because I messed around with httpd.

I need to get apache to work like normal again on my macbook retina since this is my workstation where I want to make changes to the website. Can anyone help me fix my apache install so I can make it run like normal on my macbook?

I'll truly appreciate it!

Edit: The website's URL is bramchaat myeffect net if you want to check it

Also, I checked and now instead of reaching 'It works!' on my laptop, I get to 'This site can't be reached' and a refused to connect page when trying the website and localhost, although it works on any other smartphone or my iMac or other machine. Looks like I broke it more when I was trying to troubleshoot on my own. Help?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 12 Jan '21 9:18    Post subject: Reply with quote

How did you install apache? A package? Brew?
Back to top
nispri



Joined: 10 Jan 2021
Posts: 3
Location: nowhere, kansas

PostPosted: Tue 12 Jan '21 19:02    Post subject: Reply with quote

James Blond wrote:
How did you install apache? A package? Brew?


I did both. :/

I found a package online on google and I ran it. I think it was a package or it was a terminal script. I downloaded a httpd folder and then ran whatever were in its contents.

When I was troubleshooting on my own I tried brew uninstall and installing httpd multiple times. I really don't know what the hell I am doing. The end result is what my original post describes.

I hope this helps?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 13 Jan '21 10:17    Post subject: Reply with quote

If it is only for development you can use MAMP[1] or XAMPP[2]. Both not save for production use! But easy for local development. Mamp has also a GUI

[1] https://www.mamp.info/de/downloads/
[2] https://www.apachefriends.org/de/download.html
Back to top
nispri



Joined: 10 Jan 2021
Posts: 3
Location: nowhere, kansas

PostPosted: Fri 15 Jan '21 6:25    Post subject: Reply with quote

Erm, I know MAMP, but not XAMPP. I tried running MAMP and it lets me access my local Wordpress sites that are in my htdocs folder, as usual, but going to my website URL also lands me on the same page with my local Wordpress sites, which it shouldn't be.

I think there's something wrong with my internal apache installation. Why else would my website URL point back to localhost's contents rather than the proper webpage unless apache was giving it those instructions?

Is there a way to troubleshoot apache on my mac?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 22 Jan '21 16:30    Post subject: Reply with quote

Did you set up different virtual hosts?
Back to top


Reply to topic   Topic: Problem With Apache Server Installation on Macbook Retina? View previous topic :: View next topic
Post new topic   Forum Index -> Apache