Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Move Existing Static Site to Testing Server Location

New Here ,
Mar 22, 2012 Mar 22, 2012

Hello -

I have an existing static site. The local version resides on my hard drive, in a generic folder I call Web Sites and a sub folder using the name of the actual site. The sub folder (call it "/mysite") is the current local root directory. I plan to convert some existng site pages to PHP and integrate a MySQL database. I've installed and tested XAMPP and created a couple of simple sites from scratch which reside in

/Applications/XAMPP/xamppfiles/htdocs/

It looks like I'm going to need to re-locate the "/mysite" folder to reside in "/htdocs" in order to establish a local testing server for the site.

Is my assumption that I'll need to move the location of my local site correct and if so how can I do this without breaking links?

Using:

Dreamweaver 5.5 (version 11.5 Build 5344

Mac OS 10.7.3

Thank You!

- Marco Bario

TOPICS
Server side applications
352
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 22, 2012 Mar 22, 2012
LATEST

You can set XAMPP to run a web server whereever you want, but you can only set it to be one folder so it will either be the parent to the "mysite" folder or the htdocs folder.  You should be able to move the folder that is not in the testing directory into it without breaking any links because there without the testing server your links should be document relative and not root relative since you would never have defined that root in DW up to this point. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines