Dreamweaver Localhost Setup
- March 25, 2021
- 3 replies
- 1717 views
Hello Everyone,
It has been some time since I used Dreamweaver. I am Web Development and Design student and don't know all of the details around servers yet. Anyhow, my assignment is to develop a CMS in PHP. I purchased MAMP Pro to set up my development environment and set it up in a server called Localhost. MAMP uses the document root of Application/MAMP/to put all files to be rendered in the browser. When I opened up Dreamweaver the system allowed me the opportunity to choose where to set up my local files. I decided to set them up in htdocs as I should so that the files can be uploaded to the browser correctly. Or at least that is my assumption. However, I am questioning this because Dreamweaver also asked for the root of where the files should be placed. I also made the choice to have them all out in the root of the htdocs folder of MAMP. My question is should they be separate? As I am coding PHP the details are rendering fine in the browser but when I entered the line <link rel "stylesheets" media="all" href="../stylesheets/staff.css" /> and it should have linked the stylesheet staff.css from the stylesheets directory to index.php in the staff directory. Unfortunately, the CSS file did not render. I am wondering if this has to with the local files being located in the same root as server files. Maybe there is an issue for that reason. I included a screenshot from Dreamweaver on how the file structure is put together. Please let me know if you have any answers to this question. I need to get going on this project. Thanks. Regards, Greg.
