Skip navigation
steve_e11
Currently Being Moderated

Setting up a testing server - xampp & Windows

May 17, 2012 4:55 AM

I've been following a tutorial to get a testing server set up, and have downloaded and installed XAMPP for Windows.

 

However, the tutorial seems to recommend putting all your websites inside C:/xampp/htdocs (with, presumable each site listed as a subfolder).

 

This seems very odd. I'm sure I can't be the only person who has their documents and other files stored on a server, which are then backed up regularly online and can be accessed by others who need access to them.

 

Is there a way of setting it up so you'd use your normal documents folder? I can't really face the idea of having to manually backup and maintain two sets of documents and it seems bizarre that this should be the standard way of setting up a test server. Or have I got the wrong end of the stick?

 

Regards, Steve

 
Replies
  • Currently Being Moderated
    May 19, 2012 4:12 PM   in reply to steve_e11

    You are not the only person who stores files in a central location.  Subversion is very common for storing files in a central location to keep track of version control and prevent things like sharing violations or version issues.

     

    Is there a way of setting it up so you'd use your normal documents folder?

     

    Out of everything you said, this is what doesn't make sense to me.  Here's my question for you, is there a reason you would want the testing server to be your own local machine vs a testing server that everyone has access to?  I'm curious what you would want that setup.  If you are referring to a tutorial on Adobe.com I believe that is intended for new single users who have no shared environment, SVN or anything else in the mix.

     

    If you do want to go that route, basically what will happen is when you want to test files, DW will pull them from the server to your localhost so that you can serve up the files.  Don't think of it as backing up 2 sites because your testing site should only be used to test the pages.  You should still push from the development server to the live server at the end of the day.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 7, 2012 7:01 PM   in reply to steve_e11

    1.  There is no "intelligent" way to do this in DW.  If you select "Testing Server" from the drop-down in the File Manager DW will connect to the testing server and then you can look at local view and put whatever files you want online.  It should be putting dependant files up though.  Open up the preferences, Edit->Preferences->Site and enable the Prompt on Put for Dependant files.  That should enable the prompt.  Just make sure it is set to upload before disabling that window.

     

    2.  If you followed Step 1, disconnect and choose "Remote Server" from the File window to connect to the remote server.  Then look at local view and upload.  You can't push from the testing server in DW only from the local site. 

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points