Author |
|
nispri
Joined: 10 Jan 2021 Posts: 3 Location: nowhere, kansas
|
Posted: Tue 12 Jan '21 3:56 Post subject: Problem With Apache Server Installation on Macbook Retina? |
|
|
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
|
Posted: Tue 12 Jan '21 9:18 Post subject: |
|
|
How did you install apache? A package? Brew? |
|
Back to top |
|
nispri
Joined: 10 Jan 2021 Posts: 3 Location: nowhere, kansas
|
Posted: Tue 12 Jan '21 19:02 Post subject: |
|
|
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
|
|
Back to top |
|
nispri
Joined: 10 Jan 2021 Posts: 3 Location: nowhere, kansas
|
Posted: Fri 15 Jan '21 6:25 Post subject: |
|
|
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
|
Posted: Fri 22 Jan '21 16:30 Post subject: |
|
|
Did you set up different virtual hosts? |
|
Back to top |
|