Jump to content
Sign in to follow this  
nesdon

Subdomain Set Up

Recommended Posts

I'm having trouble setting up a subdomain. When I set up my main site I used the dns number in the remote host section of DW site definition. I've tried all sorts of variations on my domain's site definitions in DW, using the dns #'s the doamin names, etc in fornt and in back, but none seem to be able to connect.

 

I get an error dialog saying "An FTP error occured. cannot make connection to host. 530 login incorrect"

 

www.mydomain goes to the same place as xx.xxx.xxx.xx/~username/ how is the subdomain represented in the server's directory? Is that what I need to know. I'm lost.

 

And I did search the archives for the solution, and read all sorts of posts regarding DW and subdomains, but still don't get it.

Share this post


Link to post
Share on other sites

all a subdomain is is a folder under your root.

 

sub.domain.com is the same thing as domain.com/sub

Share this post


Link to post
Share on other sites
all a subdomain is is a folder under your root.

 

sub.domain.com is the same thing as domain.com/sub

Where the @#*^ is the "root" ??

 

Ok in DW I define my site in a local info dialog and a remote info dialog.

In local info I set my "Local Root folder" to where my files are stored locally, and in "Http address" enter either "www.mydomain.org", or "xx.xxx.xxx.xxx/~username" as my http address.

 

Then in the remote info I have "FTP host: xx.xxx.xxx.xxx", "Host directory: public_html", and "login: ~username".

 

This all works for my primary domain, but when I add my subdomain, either in the Local info dialog "HTTP address: www.subdomain.mydomain.org" which seemed to make sense, or as xx.xxx.xxx.xxx/~username/subdomain, or as "www.mydomain/subdomain.org" or in the remote info under "host directory: public_html/subdomain" where subdomain is the name of the folder in which all the subdom files are located locally. Or any number of combinations of the above. All return the same 530 error.

Share this post


Link to post
Share on other sites

I don't know how to set it up in DW but in an FTP client it would be

 

site: ftp.******

login: your cpanel username

pass: you cpanel password

remote folder: public_html/subdomain

local folder: path to folder on your machine

Share this post


Link to post
Share on other sites

Does the subdomain exist?

 

A subdomain needs to be created in cpanel first.

Then the public_html/folder should work.

Share this post


Link to post
Share on other sites

One more thing.

 

I made a template to repeat my nav bar, header and footer on other pages, but it won't seem to allow me to modify the Title of the page. When I go to save the page under a new name with new content, it always returns the title to the template's title. I even deleted the templates title, and then it saves the page with the blank title field. Any hints?

Share this post


Link to post
Share on other sites

Hi,

 

You will need to define the Title as an 'Editable region' in the template - then you can change it.

Share this post


Link to post
Share on other sites

Hey, Andy, Don and Bruce, thanks so much for your input, it is greatly appreciated, but dumbass that I seem to be, I'm still stumped.

 

First, Andy, when I highlight the title box below the menu bar, and then go to modify>templates, the option to set editable region is not available. I only seem to get that option when an actual element in the page design is selected.

 

I tried going into the code and selecting it there, but same result. I ask this because a friend was commenting that the largest return in most search engine searches is "untitled" and that he thought failing to give one's pages unique names was the stupidest thing most amatuer designers do. Hmmm.

 

Regarding my subdomain, I just now, in reviewing the settings so that I could refer to them here, realized that I had included the ~ in my username, when I removed that, it worked. Who Hoo!

 

For someone as dyslexic as I am, code is almost impossible to deal with, I have spent hours and hours searching for misplaced punctuation marks, looked at them a hundred times and not seen them. I really respect copy editors and programmers who can see all thosae details.

 

Thanks again for the help!!

Share this post


Link to post
Share on other sites
For someone as dyslexic as I am, code is almost impossible to deal with, I have spent hours and hours searching for misplaced punctuation marks, looked at them a hundred times and not seen them. I really respect copy editors and programmers who can see all thosae details.

 

Have you thought of using something like EditPlus to look at the code. I paste my code in it and because it color codes what I put there I can read it easier. The color changes after certain marks are used so you can see places where changes are going on. I will try and get a screen shot later and post it.

Share this post


Link to post
Share on other sites

Don't know if this is an option or not, but have you considered using php includes for your nav bar that'll be on every page?

 

I messed with DW templates at first and thought it was a nightmare. I'm sure they work for some people...but I use php now for headers, nav bars and footers. I find it much easier. Makes for some tricky WYWIWYG editing, but I've gotten used to that!

Share this post


Link to post
Share on other sites

I found this code on the DW forum:

 

<!-- #BeginEditable "doctitle" -->

<title>Lectures</title>

<!-- #EndEditable -->

 

And it solved that template title problem.

 

I will look into EditPlus. I had hoped using a sophisticated editor like DW would spare me all that, but alas...

 

I'm getting some really funny behavior form mthe tempaltes, not sure why, sometimes my nav bar works and soemtimes it doesn't. I thought I cleaned it all up and reposted it, and it worked for a while then stopped.

 

I looks like php is something I need to explore if I'm gonna do this stuff. I read some of the tutortials in here, all about it being server side code, and that it uses the same tags as html. But I haven't a clue as to how to start using it.

 

When PC's were first developed in like 1975, I started messing around with Basic on a sinclair, and just spent way too much time to get almost nowhere. I wanted a word processor and a data base, I realized I had no chance of building them. I'm jsut not a programmer. I love Word, Photoshop, and all that, and just really wish this web design thing would work more like that.

 

Thanks again

Share this post


Link to post
Share on other sites

Nesdon...I don't know php. But I can still use php includes! It's very easy, and there's lots of us to help out if you decide to give it a try.

 

You will have to do some work in the code, though!!! :lol:

Share this post


Link to post
Share on other sites

One more thing.

 

I'd love it if you guys could look at my sites and critique them.

 

Tracy, since you commented on my first version of the terrakino.org site I've completely redone it.

 

My other site, still a subdomain: partnership.terrakino.org is up. The links are not working reliably, but there isn't much out there yet anyway so it doesn't really matter.

 

I feel like such a rank amateur, I want to ask a couple of my friends involved in some big non profit sites to add my links on their sites, and start to try and get some support for the actual terrakino project. But I want to make sure it's passible first.

Share this post


Link to post
Share on other sites

Nesdon...if I remember correctly, your site has definitely improved. It looks much better. Here are a few thoughts for you to keep working on:

 

1. You have quite a few typos in the content of your sub-pages. Also, some of your sentences don't flow too well. Don't get me wrong...I'm certainly not a grammar expert. I just know that it makes a BIG difference in someone's first impression of your site! Maybe English is not your first language...or maybe you just hated spelling and grammar like most kids. :) Either way, it's worth finding someone who can help you with those little things if you want users to feel that your site is credible and important.

 

2. I like the links at the top. The ones to the left are a bit hard to read, though. Consider making the font just a TAD larger. Like...if it is currently 10, go to 11. Also you might consider playing with the "width" attribute of the empty cells between your link images in order to line up the right edge of your links with the banner photo. It looks like you did this in Fireworks? You can either do it in FW, or you may be able to just change the code in your html page. One example would be:

 

change

<td width="70" height="30" valign="top"><a href="pages/techniques.htm" onClick=........><img name="nav1" src="images/nav1.jpg" border="0" onLoad="" width="60" height="30"></a></td>

                      <td width="10"></td>

to
<td width="70" height="30" valign="top"><a href="pages/techniques.htm" onClick=........><img name="nav1" src="images/nav1.jpg" border="0" onLoad="" width="60" height="30"></a></td>

                      <td width="12"></td>

 

You'd have to play with the numbers more...but it would probably work somewhere between 12 and 15.

 

3. Center the webring box at the bottom. Or put something off to the right to balance it.

 

4. For the sake of consistency, time-spans.htm should probably be made to look like the rest of your sub-pages.

 

That's about all I see right now. As a photographer, I love your idea of long duration photos! Very intriguing. And I understand it much better than in your first site. So good job on improving that!

 

Keep up the hard work. I change some of my sites all the time because I'm not 100% happy with them. That's just how the world turns! ;)

Share this post


Link to post
Share on other sites

You might consider changing the table from

<table width="750" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC">

to

<table ALIGN="center" width="90%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC">

to center the table and set the width to what you feel reveals the right amount of background.

This will center at all resolutions.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...