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

What is the syntax for local site folder, server folder and web URL

Engaged ,
Nov 11, 2024 Nov 11, 2024

I have an html DW site on my computer which is located on my D drive.  The index page is here: D:/01_htm_websites/domain.com.au/httpdocs/index.htm (where the word 'domain' has replaced the actual domain name).

 

Regarding the DW Site Setup:

What is the correct syntax for:

the Local Site Folder

Local Server Folder

Web URL

 

I do not have a local development server installed.

 

 

TOPICS
How to
450
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

correct answers 1 Correct answer

Community Expert , Nov 12, 2024 Nov 12, 2024

In your above path, your local site folder would thechnically be "httpdocs" that's the folder that holds your site's home page, index.htm.

I wouldn't use that path though, there's no need for the httpdocs folder in this instance. Just use your "doman.com.au" folders directly... although I would also drop the ".com.au" from it, to make it simpler. Your paths for each home page could then be...

D:/01_htm_websites/domain1/index.htm
D:/01_htm_websites/domain2/index.htm
D:/01_htm_websites/domain3/index.h

...
Translate
Community Expert ,
Nov 12, 2024 Nov 12, 2024

If you don't have a local development or testing server, then it would not need to be defined, but you would also not be able to test pages that require code to execute. The local site folder would your D drive and web url would be where the url of the published page.

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 ,
Nov 12, 2024 Nov 12, 2024

In your above path, your local site folder would thechnically be "httpdocs" that's the folder that holds your site's home page, index.htm.

I wouldn't use that path though, there's no need for the httpdocs folder in this instance. Just use your "doman.com.au" folders directly... although I would also drop the ".com.au" from it, to make it simpler. Your paths for each home page could then be...

D:/01_htm_websites/domain1/index.htm
D:/01_htm_websites/domain2/index.htm
D:/01_htm_websites/domain3/index.htm

With the example above, in DW, the Local Root Folder would be simply "domain1, domain2, or domain3" all contents of those individual folders would be uploaded to each site's Server Root, which is determined by your hosting company (usually www, htdocs,  or public_html, but could be anything your hosting company declares). 

Without a testing/development server, there is no Local Server Folder

Your Web URL is determined by the domain name you purchased and is the www-dot-whatever that your site resolves to, once hosting is purchased for the domain.

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
Engaged ,
Nov 12, 2024 Nov 12, 2024
LATEST
quote

IWithout a testing/development server, there is no Local Server Folder

I was trying to get DW to open a browser for me via File > Preview in browser

 

DW was looking for something that didn't exist.  I was trying to populate the local testing server field for an html website when I don't have a testing server on this terminal.

 

Thank you all for your patience.

 

2024-11-13_11-03-23.jpg

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 ,
Nov 12, 2024 Nov 12, 2024

Go to Site > New Site...  Hit the small folder icon to find your local site folder on your machine.

In this pictured example, mine is C:\MyTestSite\

 

CC-localsite.jpg

 

If your site folder resides on an external hard drive, it must be read & writable by Dreamweaver.  If it's not, you should move your site folder to the primary hard drive.

 

Hope that helps.

 

Nancy O'Shea— Product User, Community Expert & Moderator
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 ,
Nov 12, 2024 Nov 12, 2024

Remote Server Root Directory varies by your hosting plan.  If you're not sure what to enter, contact your hosting provider.

 

CC-RootFolder.jpg

 

Nancy O'Shea— Product User, Community Expert & Moderator
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 ,
Nov 12, 2024 Nov 12, 2024

Assuming you have a live domain on an active web hosting account, your URL is probably something like

https://example.com  where example is your domain and .com is the extension.

 

http is a non-secure server.

https is a secure server (which everyone should have).

 

Nancy O'Shea— Product User, Community Expert & Moderator
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