ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I address a homepage on my local Apache server?

  • 2 (ردّان اثنان)
  • 4 have this problem
  • 1 view
  • آخر ردّ كتبه eriku

more options

I have a local Apache server on my computer for program development purpose (HTML+PHP). In MS Explorer I address a program on that server like "http://localhost/VH_Safir-X/index.php". Firefox can not find anything by use of that address - how should it be written?

I have a local Apache server on my computer for program development purpose (HTML+PHP). In MS Explorer I address a program on that server like "http://localhost/VH_Safir-X/index.php". Firefox can not find anything by use of that address - how should it be written?

الحل المُختار

I have tried the wanted address a number of times without result. I then tried "http://127.0.0.1", which worked. Tried the wanted address again, and now it worked! Life is interesting! Thank you, alco!

Read this answer in context 👍 0

All Replies (2)

more options

Hi eriku,
you should be able to access your pages with your address if your server is up and running. As long as you have access with ie with that address I don't see why you are not able to view the same pages with firefox. In case you have not changes your default localhost address, you could try with http://127.0.0.1
Please report back, so we could address your problem more precisely.

more options

الحل المُختار

I have tried the wanted address a number of times without result. I then tried "http://127.0.0.1", which worked. Tried the wanted address again, and now it worked! Life is interesting! Thank you, alco!