localhost path

Avatar
  • updated
  • Answered

Where are my localhost files?  I do a curl http://localhost/index.php and I get a result, but I can't figure out where the file is. when I ssh into the server I go to I have a /home/username directory, but my localhost files don't seem to be there.  I need to put files under http://localhost/.  where can I find it?  

Avatar
IMH Support Agent 1
  • Answered

Hello,

Thank you for contacting us regarding the localhost path for your files. If you are running a server locally, for example using Xampp or Wamp, it's difficult to say since it depends on how you configured your server.

If you are connecting to a server with InMotion, I believe you want to access the Document Root of your site. Here is a link to our guide on how to find the document root of your website.

I hope this helps,

Thank you,

John-Paul