PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > General Issues / Questions
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 8-13-06, 11:23 PM   #1
synsav
 
Join Date: Apr 2003
Location: Rockport, TX, & Cedar Rapids, IA USA
Posts: 30
Reputation: 7
Creating (and understanding!) subdomains which work

I've been migrated and everything seems to work. However, I can't seem to create subdomains which work. I've searched the forums and read up on them, but no answer to my issues. I'm using the Subdomain mapping tool.

It appears there are two types of subdomains:
Type 1: sub1.domain.com points to /htdocs/sub1/index.html, and
Type 2: sub2.domain.com points to sub2/htdocs/index.html (where sub2 is in the root)
To me, these are two different animals, but both are called subdomains. Is this correct?

If I create Type 1 subdomains pointing to long-time-existing directories, everything works as expected.
However, if I create directory sub1 and within it index.html (and they do get created, as they show up when looking at them via FTP), then create sub1.domain.com, it does not create the subdomain. More precisely, it creates it but says, "has no index file" and does not work as intended.

I can not creat Type 2 subdomains. If I create sub2 directory in the root , then within sub2 create htdocs and within that index.html, it fails to create the subdirectory and says sub2/htdocs/index.html does not exist.

Needless to say, I'm puzzled/confused by all this. I'd really appreciate enlightenment on the two types, and whether or not the mapping program does or does not work.

Especially confusing is the fact that I can create a Type 1 subdomain which points to old files but not to new ones.

Thanks for any help you can provide!
Cheers,
Keith

Last edited by synsav : 8-14-06 at 11:09 PM.
synsav is offline  
Old 8-14-06, 10:36 PM   #2
crcheek
Registered
 
Join Date: Sep 2005
Location: usa
Posts: 11
Reputation: 0
Same here.

So I created a folder: htdocs/jcharlescheek/htdocs and upload all files to there
EDIT: I RE-UPLOADED MY FILES TO THE SUBDIRECTORY AND IT IS WORKING

Last edited by crcheek : 8-15-06 at 12:32 AM.
crcheek is offline  
Old 8-14-06, 11:15 PM   #3
synsav
 
Join Date: Apr 2003
Location: Rockport, TX, & Cedar Rapids, IA USA
Posts: 30
Reputation: 7
That's two of us with exactly the same problem. Here's another one, posted in the DNS section: http://forum.powweb.com/showthread.php?t=68840

Surely someone can enlighten us!

Keith
synsav is offline  
Old 8-14-06, 11:38 PM   #4
cc1030
 
Join Date: Mar 2003
Location: Agawam, MA
Posts: 915
Reputation: 130
I just tried it on my site, and the subdomain mapping tool is not working. If you point the subdomain to "/htdocs/sub1", then it should read the files from that directory. If you want to place the files outside of your /htdocs directory, then you need to do something like "/sub2/htdocs" (because for some reason it needs to see "htdocs" somewhere in the path).

At any rate, it's not working, so you'll have to contact support.
cc1030 is offline  
Old 8-15-06, 06:52 PM   #5
k30248
 
Join Date: Mar 2003
Posts: 57
Reputation: 5
type 2 seems to work fine for me.

I have "/sub/htdocs/index.htm" and then under the Subdomain Mapping I have the "Points To Subdirectory" set to "/sub/htdocs". The ones created pre-migration should be already set to "/sub" and those dont need the htdocs included into the path for some reason.
k30248 is offline  
Old 8-16-06, 09:35 AM   #6
NeilFawcett
Badger...Badger...Badger
 
Join Date: Nov 2003
Location: UK
Posts: 945
Reputation: 74
Can I point out I successfully got a subdomain working last night with "forum.mydomain.com", pointing to "htdocs/vbb/" (your type 1 exampe).

Works a treat! Very happy with how easy it was!
NeilFawcett is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:15 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.