homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Dreamweaver, Subdomains, and a local test server
How do I use Site Manager in DW to test my sites locally?

5+ Year Member

Msg#: 3258713 posted 9:21 pm on Feb 19, 2007 (gmt 0)

I'm in the process of trying to set up a test server on my local PC with the necessary directory structure to test several different sites (using different technologies). I'm using all the current versions (as of yesterday) of Apache, php, phpBB, Wordpress, and mySQL. I created an "htdocs" directory at the root (I'm running Windows XP). In that directory, I have several subdirectories, one for each site. One is a blog, another a forum, another a static HTML site, and another a portal using RSS feeds and other things. Within the portal directory, I have additional folders for each portal (subdomains, I hope).

My biggest problem with DW so far is that I want to be able to use (and test locally) subdomains. Originally, I created a folder called "products" (http://www.products.com once it's uploaded to my webhost). Within that folder, I created a series of folders that would be subdomains of that domain (cars.products.com, cats.products.com, etc.). But the more I think about it, I think all folders, whether subdomains or not, should be at the same level. After all, that's how subdomains are structured on my webhost when I use CPANEL.

I've tried many different combinations of paths, etc. in setting up a test site with DW's site manager utility but none take me to the test site when I hit F12. I'll either get a 404 error or a message that says that the site cannot be displayed (but not a 404 error).

What am I missing? And I haven't even gotten to using DW for the blog or forum yet. Am I asking too much of the tool?




10+ Year Member

Msg#: 3258713 posted 7:20 pm on Feb 20, 2007 (gmt 0)

Typically, when I set up a subdomain in cpanel that becomes a folder within my htdocs folder of my domain. I can see the folder when I ftp into the server (I use SmartFTP).

So, in Dreamweaver you are going to want to setup ftp for a subdomain to go into this folder.

It might look something like this:

You ftp into your domain at www.products.com and the main folder of the site is: htdocs
Then each of your subdomains are doing to be like this:


You will just tell Dreamweaver those are the paths for each of those sites.

In your browser, however, the domains will look like this:

Car and cat products combined are quite a niche.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved