Odd error with Apache- NO localhost. |
Odd error with Apache- NO localhost. |
newwebdesigner |
Aug 18 2014, 03:09 PM
Post
#1
|
Newbie Group: Members Posts: 12 Joined: 15-August 14 Member No.: 21,405 |
I am having a odd error with Apache 2.4. I installed it, everything should be good, I start it, and I get a 404 error on localhost.I am new to all this, I am using the port 8080 but if I try localhost:8080 is still doesn't work. I don't have a clue as to what is wrong.
This post has been edited by newwebdesigner: Aug 18 2014, 03:12 PM |
newwebdesigner |
Aug 18 2014, 03:43 PM
Post
#2
|
Newbie Group: Members Posts: 12 Joined: 15-August 14 Member No.: 21,405 |
Okay, now I have another problem. So now I am trying to make it instead of localhost, mywebsite.localhost:8080, but it is not working. When I go into Cmd and try to view the errors in the C:\Apache24\bin and do httpd.exe, a windows popup appears and says Apache 24 has stoped working. Any ideas?
|
Christian J |
Aug 19 2014, 03:54 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
now I am trying to make it instead of localhost, mywebsite.localhost:8080, I don't know if/how you can use the format "mywebsite.localhost", instead I use http://mywebsite1/ http://mywebsite2/ etc for my local web sites. QUOTE but it is not working. How did you configure Apache to map the above URL to the directory of your web site files? |
pandy |
Aug 19 2014, 05:04 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Yea, you can do that. You set it up with <VirtualHost> in httpd.conf. I'd have to read the details up in the documentation, but as I recall it's pretty straightforward.
newwebdesigner, what have you done to make the sub work? Show us. |
Lo-Fi Version | Time is now: 23rd April 2024 - 02:23 AM |