Server "localhost" does not exist.

Hello,

I've setup one of my projects under localhost, which is WAMP. I defined my deployment as "In place" and for the webserver URL I gave it "http://localhost". This works when I click the little browser icon at the top-right corner of the opened php file. It opens and runs the file in the browser under localhost.

However, when I open up the project and look under the Remote Host panel, it says "Server 'localhost' does not exist." I can still click the browser icon and run the file correctly on localhost, I just don't get it why the Remote Host panel says localhost does not exist?

Any ideas?


Thanks you.

5 comments
Comment actions Permalink

Hi there,

Maybe because it works with FTP/FTPS/SFTP servers ONLY?

Plus ... I see no point at all in this to work with "In Place" deployment entry in first place -- the content will be exactly the same as in Project View. What is the expected benefit?

0
Comment actions Permalink

Ok, so when I change the deployment setting from "In Place" to "Local or mounted folder" it seems to work. It opens the file on localhost.

However, now I'm confused as to what is "In Place" is used for in the "Type" dropdown in the deployment window? When I select "In Place" the little description text below the dropdown says: "Project files are already on locally installed server." Which is true. That is where my files are located.

When I select "Local or mounted folder", the description says: "Project files are deployed to a file system location: hard, flash, network, mounted or other drive."

Well, my files are obviously on the hard drive. To me the "In Place" setting makes more sense, but then I'm getting that error noted in my first post. I don't find any documentation about the "In Place" selection and what is the difference between "In Place" and "Local or mounted folder".

Both "In Place" and "Local or mounted folder" selection seems to work. The only difference being, is that when I reopen the project, the Remote Host panel says "localhost does not exist".

Could you elaborate what is the difference between the two setting?

Thanks.

0
Comment actions Permalink

"In Place" means that files are already at their final destination, therefore no deployment required at all. In this case Source Folder (Project Files) = Target Folder.

"Local or mounted folder" means that projects files will be copied somewhere else using normal file copy operations (e.g. another folder/partition on hard drive; network path; mounted folder (e.g. Network location/FTP Server/SSH connection that available via separate drive letter (on Windows)). Here Source Folder != Target Folder (e.g. C:\Projects\mysupersite.com ==> Z:\Websites\mysupersite.com). Because Source != Target, the Remote Host panel works (as it displays different location to what Project Files does).

0
Comment actions Permalink

Thanks for the explanations! But in this case, I was correct. My files ARE on the local server (localhost) and so no deployment is needed. I modify my code on localhost and run it on localhost. No copying needed. In which case why is it telling me that "localhost does not exist"?

0
Comment actions Permalink
But in this case, I was correct. My files ARE on the local server (localhost) and so no deployment is needed. I modify my code on localhost and run it on localhost. No copying needed. In which case why is it telling me that "localhost does not exist"?


The message says "Server 'YOUR_ENTRY_NAME' does not exist".

What is the name of this deployment entry? I assume it's called "localhost", right?


In any case -- Remote Host panel does not work with In Place entries. I personally do not really care what message is displayed at that moment (at leats, the message makes sense to me). If you think that message is very misleading/incorrect/etc -- file bug report/usability issue to the Issue Tracker.

0

Please sign in to leave a comment.