close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

need help with PG 1&1 and godaddy has same issue

Thread began 12/30/2009 5:21 pm by stevej_a2343714 | Last modified 1/04/2010 6:31 pm by stevej_a2343714 | 3780 views | 10 replies

neilo

Hi Steve,

It depends (I think) on how you have set up the sub-domain. Many (most?) hosting set-ups would by default assign a sub-domain to a folder in the root directory with the same name, i.e. - if you had a folder under the root directory called 'myfolder', then you would automatically (without setting anything up) refer to it as a sub-domain by calling www.myfolder.mysite.com.

You can also map a sub-domain to any other directory, in which case only you would know the paths.

So if, as it seems, your 'http://gallery.stevejoslin.net' is a (virtual) sub-domain for 'http://stevejoslin.net/gallery/', i.e. your files are actually in a folder called 'gallery' in your root directory, then your paths in any page in that folder to the 'CSSMenuWriter/cssmw/menu.php' would need to begin with '../' (i.e. '../CSSMenuWriter/cssmw/menu.php').

A file that looks for 'thisfolder' assumes that 'thisfolder' is in the same directory as itself.
A file that looks for '../thisfolder' assumes that 'thisfolder' is in a directory one level up from itself.
A file that looks for '../../thisfolder' assumes that 'thisfolder' is in a directory two level up from itself.

And so on.

So if your gallery page is in yoursite.net/gallery/yourgallerypage.php, and your menu files are in yoursite.net/CSSMenuWriter/cssmw/menu.php, then you would need to step back one level from the gallery folder to start on your path to your menu files.

Sorry if this is a ramble; faulty paths are a major cause of problems, especially if you are moving files about.

Not sure if I've explained anything at all, so post back with any questions. Perhaps someone who has implemented sub-domains in their site will post back with more insight.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...