atom-live-server icon indicating copy to clipboard operation
atom-live-server copied to clipboard

atom-live-server is not loading my index.php page

Open joeyojoeyo opened this issue 4 years ago • 2 comments

When starting the atom-live-server, it loads http://localhost:3000 (Firefox - Browser used), and then doesn't load my index.php page, but a "listing directory /" page, listing all the files inside the root folder (exclusively index.php). So, it's not displaying my index.php page.

I've set index.php as the DirectoryIndex before index.html in the httpd.conf file.

When I change the URL to http://localhost:80, my index.php file gets displayed properly. When however using the live server again, it switches back to the port 3000 address, back to the "listing directory /" page. What am I doing wrong?

joeyojoeyo avatar May 14 '20 09:05 joeyojoeyo

I have this same problem and cannot find an answer. The problem is with the live server using Port 3000. How do I tell the Live Server to not use port 3000, just plain localhost(127.0.0.1)?

indnajns avatar Aug 02 '20 21:08 indnajns

From Atom click on Edit, then Preferences and in the tab that opens click on Packages, then atom-live-server scroll down and it will tell you how to make the options file and set the page to load and the port to use ext..

beetle442002 avatar Oct 05 '21 21:10 beetle442002